Extension talk:ProtectSection

Problem: tags are visible in text
The code seems to work, but the and tags are visible in the text, which severely limits the extension's usefulness. Anybody know how to tweak it so that the tags aren't visible?
 * Ther's no . If you are using it, the tags will just be shown as text. -- Duesentrieb ⇌ 13:15, 29 April 2007 (UTC)


 * I mistyped in the original message - the and  tags are visible in the text. -- Dctoedt 15:49, 29 April 2007 (UTC)


 * I had the same problem and this does the job for me   - as long as nobody deletes part of the comment tags. Deleting --> from  can probably comment out the rest of the page...haven't tried though.
 * Another alternative is to make a class and make a span with white text. But these are all workarounds...maybe a developer can easily filter you the tags before rendering?
 * The code for that already exists in the tweaked version on the page. But the issue is that the html entities are what is in the text, not the that you see. The code needs to be copied from the edit view, not from a simple copy or else the stripping of the tags won't work. Dantman
 * I just changed the pre to source in the page, so you can copy the code fine now from the page because source escapes those HTML entities so you can copy the correct source. Dantman 14:19, 12 July 2007 (UTC)