added system.del; delete; insert

This commit is contained in:
Andreas Rumpf 2010-02-02 19:20:16 +01:00
commit 6ecbed7284
5 changed files with 93 additions and 34 deletions

View file

@ -321,8 +321,8 @@ proc parseEntity(my: var TXmlParser, dest: var string) =
elif buf[pos] == 'g' and buf[pos+1] == 't' and buf[pos+2] == ';':
add(dest, '>')
inc(pos, 2)
elif buf[pos] == 'a' and buf[pos+1] == 'm' and buf[pos+2] == 'p'
and buf[pos+3] == ';':
elif buf[pos] == 'a' and buf[pos+1] == 'm' and buf[pos+2] == 'p' and
buf[pos+3] == ';':
add(dest, '&')
inc(pos, 3)
elif buf[pos] == 'a' and buf[pos+1] == 'p' and buf[pos+2] == 'o' and