1
General Board / Re: Avoid HTML escaping in HTML report
« on: April 05, 2013, 05:37:01 pm »
Hi,
Just got an answer from Sparx Systems support ... it's a bug and it will be fixed in one of the future releases. In the meantime you can use the simple workaround described in the following mail:
Hi Rüdiger,
Thank you for your note.
This issue has been reported previously by another user also and is logged as a bug to be fixed. We cannot yet say when (in which build) the fix will be implemented.
Reference Number: 13045026
In our tests the error occurs only in FireFox. If you are using a different browser and still seeing this error please let us know.
As a current workaround you should be able to avoid the issues in FireFox by doing the following...
1. Open Resources window. 'Project | Resources'
2. Select in the Resource tree. 'Resources | Templates | Web Style Templates'
3. Right click to open context menu and select 'Create HTML Template'. (Name your template in popup dialog) ok 4. In 'HTML and CSS Style Editor' that opens, select 'Javascript' from the Templates list.
5. Find' function initPage(src)'
6. Comment out condition '//if (toc.document == null)' on line 260 7. Comment out condition '//if (cont.document == null)' on line 263 8. Save changes and close editor 9. Now when you generate your HTML report, select your new template in the 'Style' field of the 'Publish as HTML' dialog.
10. Navigate HTML report with FireFox
If you have further questions or issues please let us know.
Best Regards,
Simon Cotching
Sparx Systems Pty Ltd
[email protected]
http://www.sparxsystems.com
Rüdiger Engelberger
Just got an answer from Sparx Systems support ... it's a bug and it will be fixed in one of the future releases. In the meantime you can use the simple workaround described in the following mail:
Hi Rüdiger,
Thank you for your note.
This issue has been reported previously by another user also and is logged as a bug to be fixed. We cannot yet say when (in which build) the fix will be implemented.
Reference Number: 13045026
In our tests the error occurs only in FireFox. If you are using a different browser and still seeing this error please let us know.
As a current workaround you should be able to avoid the issues in FireFox by doing the following...
1. Open Resources window. 'Project | Resources'
2. Select in the Resource tree. 'Resources | Templates | Web Style Templates'
3. Right click to open context menu and select 'Create HTML Template'. (Name your template in popup dialog) ok 4. In 'HTML and CSS Style Editor' that opens, select 'Javascript' from the Templates list.
5. Find' function initPage(src)'
6. Comment out condition '//if (toc.document == null)' on line 260 7. Comment out condition '//if (cont.document == null)' on line 263 8. Save changes and close editor 9. Now when you generate your HTML report, select your new template in the 'Style' field of the 'Publish as HTML' dialog.
10. Navigate HTML report with FireFox
If you have further questions or issues please let us know.
Best Regards,
Simon Cotching
Sparx Systems Pty Ltd
[email protected]
http://www.sparxsystems.com
Rüdiger Engelberger