Skip to content

Commit

Permalink
Add elements with methodname tag to test
Browse files Browse the repository at this point in the history
  • Loading branch information
haszi committed May 21, 2024
1 parent c3759b9 commit 4ffacb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
18 changes: 12 additions & 6 deletions tests/bug_doc-en_GH-3353.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ Content:
</div>
<div class="refsect1 description" id="method.and.function-description">
<p class="para">
Link to <span class="function"><a href="method.only.html" class="function">ClassName::methodName()</a></span>
and to <span class="function"><a href="function.only.html" class="function">classname_methodname()</a></span>
Link to <span class="function"><a href="method.only.html" class="function">ClassName::methodName()</a></span> with a function tag
and to <span class="function"><a href="function.only.html" class="function">classname_methodname()</a></span> with a function tag
and to <span class="methodname"><a href="method.only.html" class="methodname">ClassName::methodName()</a></span> with a methodname tag
and to <span class="methodname"><a href="function.only.html" class="methodname">classname_methodname()</a></span> with a methodname tag
</p>
</div>

Expand All @@ -68,8 +70,10 @@ Content:
</div>
<div class="refsect1 description" id="method.only-description">
<p class="para">
Link to <span class="function"><strong>ClassName::methodName()</strong></span>
and to <span class="function"><a href="function.only.html" class="function">classname_methodname()</a></span>
Link to <span class="function"><strong>ClassName::methodName()</strong></span> with a function tag
and to <span class="function"><a href="function.only.html" class="function">classname_methodname()</a></span> with a function tag
and to <span class="methodname"><strong>ClassName::methodName()</strong></span> with a methodname tag
and to <span class="methodname"><a href="function.only.html" class="methodname">classname_methodname()</a></span> with a methodname tag
</p>
</div>

Expand All @@ -84,8 +88,10 @@ Content:
</div>
<div class="refsect1 description" id="function.only-description">
<p class="para">
Link to <span class="function"><a href="method.only.html" class="function">ClassName::methodName()</a></span>
and to <span class="function"><strong>classname_methodname()</strong></span>
Link to <span class="function"><a href="method.only.html" class="function">ClassName::methodName()</a></span> with a function tag
and to <span class="function"><strong>classname_methodname()</strong></span> with a function tag
and to <span class="methodname"><a href="method.only.html" class="methodname">ClassName::methodName()</a></span> with a methodname tag
and to <span class="methodname"><strong>classname_methodname()</strong></span> with a methodname tag
</p>
</div>

Expand Down
18 changes: 12 additions & 6 deletions tests/data/bug_doc-en_GH-3353.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
</refnamediv>
<refsect1 role="description" xml:id="method.and.function-description">
<para>
Link to <function>ClassName::methodName</function>
and to <function>classname_methodname</function>
Link to <function>ClassName::methodName</function> with a function tag
and to <function>classname_methodname</function> with a function tag
and to <methodname>ClassName::methodName</methodname> with a methodname tag
and to <methodname>classname_methodname</methodname> with a methodname tag
</para>
</refsect1>
</refentry>
Expand All @@ -20,8 +22,10 @@
</refnamediv>
<refsect1 role="description" xml:id="method.only-description">
<para>
Link to <function>ClassName::methodName</function>
and to <function>classname_methodname</function>
Link to <function>ClassName::methodName</function> with a function tag
and to <function>classname_methodname</function> with a function tag
and to <methodname>ClassName::methodName</methodname> with a methodname tag
and to <methodname>classname_methodname</methodname> with a methodname tag
</para>
</refsect1>
</refentry>
Expand All @@ -33,8 +37,10 @@
</refnamediv>
<refsect1 role="description" xml:id="function.only-description">
<para>
Link to <function>ClassName::methodName</function>
and to <function>classname_methodname</function>
Link to <function>ClassName::methodName</function> with a function tag
and to <function>classname_methodname</function> with a function tag
and to <methodname>ClassName::methodName</methodname> with a methodname tag
and to <methodname>classname_methodname</methodname> with a methodname tag
</para>
</refsect1>
</refentry>
Expand Down

0 comments on commit 4ffacb6

Please sign in to comment.