Documentation shows \n instead of newline
Closed this issue · 4 comments
GoogleCodeExporter commented
Using:
mabot 0.8
robot framework 2.7.1
python 2.7.2
on Windows 7
Steps to reproduce:
1. create a test case with a multi-line documentation section, e.g.
This is my test case
[Documentation] some cool information
... goes here
2. run mabot with the test suite containing the test
3. navigate to the test case
Result: the documentation section shows "some cool information\ngoes here".
Expected result: the documentation section should have the line feed
Note that this also happens with suite-level documentation shown on the page
when you have the top node of a suite selected in mabot
Original issue reported on code.google.com by e...@qualitytree.com
on 12 Jun 2012 at 9:17
GoogleCodeExporter commented
The real newlines are escaped in RF model as '\\n'. It seems that mabot does
not unescape the newlines when displaying the documentation.
Original comment by janne.t....@gmail.com
on 27 Jun 2012 at 8:09
- Changed state: Accepted
GoogleCodeExporter commented
Original comment by mika.han...@gmail.com
on 11 Oct 2012 at 11:06
- Changed state: Started
- Added labels: Target-0.8.1
GoogleCodeExporter commented
Fixed in r6858d79fdf81
Original comment by mikko.ko...@gmail.com
on 11 Oct 2012 at 1:07
- Changed state: Done
GoogleCodeExporter commented
Original comment by mikko.ko...@gmail.com
on 15 Oct 2012 at 10:23
- Added labels: Target-0.9
- Removed labels: Target-0.8.1