> bug in latest version when trying to insert HTML using !- -!Posted
> by: "gfbrols"
gfbrols@... gfbrolsTue Oct 27, 2009 2:07 am (PDT)
>
>
> if you insert the following in a fitnesse page, it should include a
> table.
>
> !-<table border="0">
> <tbody>
> <tr>
> <td>!Fixture 1</td>
> <td> </td>
> </tr>
> <tr>
> <td>Call</td>
> <td>Test</td>
> </tr>
> </tbody>
> </table>-!
>
> But the following is displayed:
> <td> </td>
> </tr>
> <tr>
> <td>Call</td>
> <td>Test</td>
> </tr>
> </tbody>
> </table>-!
>
> and the 'Add child' window content is appended to the bottom of the
> Fitnesse page
>
> Gael
Yes, the problem is the <td>!Fixture... line. Note that this has a >!
in it. This sequence closes the literal opened by !-. (Yes, I know
it's wierd that >! closes a !-, but that's what you get when you parse
a grammar with regular expressions!)
The solution is to put a space after the >
----
Robert C. Martin (Uncle Bob) | email:
unclebob@...
Object Mentor Inc. | blog: blog.objectmentor.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 | twitter: unclebobmartin