Comment #6 on issue 1495 by pekka.klarck: Add plain text syntax support
into ReST parser
http://code.google.com/p/robotframework/issues/detail?id=1495
@datakurre:
#2 One way could be checking is Pygments installed (preferably also
checking is rf lexer there) and disabling this new functionality altogether
if it's not. Would get rid of the warnings that way, but would still get
the same confusing error message if Pygments isn't available. Failing with
a clear error isn't an option if Pygments isn't there, because that would
then make Pygments a precondition for using the old reST parser.
#3 Feel free to refactor the old code as much as needed. The old approach
of inheriting from HtmlParser doesn't work that well anymore. One more
example showing how delegation is so often better than inheritance.
#4 Being able to reuse the parsed doctree would be great! I would also
avoid monkeypatching. Adding new integration to docutils would be better,
but that's probably not worth the effort.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.