markdown_help: Make spoiler-button work by changing its tag.

The "a" tag of spoiler-button present in Markdown formatting page
disrupts click handlers. To fix this, "a" tag is changed to "span" tag.
This commit is contained in:
Nikhil Maske 2021-01-19 14:29:25 +05:30 committed by Tim Abbott
parent fcc8debc3a
commit 719217be8f

View File

@ -134,7 +134,7 @@ This text won't be visible until the user clicks.
```</td>
<td class="rendered_markdown">
<div class="spoiler-block">
<div class="spoiler-header"><a class="spoiler-button"><span class="spoiler-arrow"></span></a>
<div class="spoiler-header"><span class="spoiler-button"><span class="spoiler-arrow"></span></span>
<p>Always visible heading</p>
</div>