more [ and ] characters in examples fixes

html entities instead of literal characters