**Author:** `dpld`
**Description:**
Lines starting with #, * or : disrupt GeSHi blocks if the enclose="none" option is deployed. An illustration of the bug can be seen at
http://en.wikibooks.org/wiki/User:Duplode/Offending_GeSHi_block
There, the first two lines inside the GeSHi block are Matlab comments, which start with #. Before the second line, however, the formatting and syntax highlight are disabled, and a numbered list item is displayed at the comment line. Inspection of the page source reveals the enclosing <span class="mw-geshi matlab source-matlab"> is prematurely closed before the second line. The problem only happens when enclose="none" is used.
--------------------------
**Version**: unspecified
**Severity**: normal
**URL**: https://en.wikibooks.org/w/index.php?title=Wikibooks:Sandbox&oldid=2684029
**See Also**:
https://bugzilla.wikimedia.org/show_bug.cgi?id=12974