bug0023

record=0023 status=fixed description="""if you place a single percent on a page, in some cases you get a page fault (traceback error).

The single percents need to be escaped before the page is formatted with data from the wiki engine.

Here is the traceback:

Exception raised by tbwiki software
Traceback (most recent call last):
  File "tbwiki.cgi", line 53, in
    main(req)
  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 1513, in main
    html = block_to_html(req, page_data)
  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 1030, in block_to_html
    new_data = data % req.data
ValueError: unsupported format character '
' (0xd) at index 268

See http://bird.org/test/TestCornerMarkup

""" summary=single percent page fault priority=high assigned_to=Tim