Steps to reproduce
- Enable Wikitext syntax highlighting
- Open Wikipedia:Sandbox
- Edit it as source
- Type *#*:#
Actual results
The last # is not highlighted though it represents a list item.
Expected results
As the preview would show the last # does represent an ordered list and thus should be highlighted.
Screenshot
You can see how it looks in the rendering here.