[Vim-l] HTML character entities
John Beckett
johnb.beckett at gmail.com
Tue Oct 7 07:41:45 UTC 2008
Please bear in mind a new guideline when editing:
http://vim.wikia.com/wiki/Vim_Tips_Wiki:Special_text
Summary:
* Do not use < or > or & (for < > &).
* Except:
- use <q-args> for <q-args>
- use <S-F1> for <S-F1> (and similar for <S-Left>, <S-Tab> etc)
I have used a bot to remove HTML character entities from all tips, except for the
above (and a couple of strange {{help}} template cases). For example, a tip that
used to contain "<CR>" now contains "<CR>". Entities other than < >
& have not been changed.
With luck, you won't notice anything different when reading a tip, but editing will
be a lot easier.
The above link has some background. In brief, some research leads me to believe that
the MediaWiki software that processes wikitext will reliably generate valid HTML if
the above summary is followed.
John
More information about the Vim-l
mailing list