March 29, 2012

The current version of Pynliner is case-sensitive based, which makes it hard to generate inline CSS styles for XML-based documents that have difference case settings for the CSS styles. An example of this issue occurs in the html.jelly file of Hudson/Jenkins' email-ext plugin where the tags are lower-case but the CSS style tags are in upper case. In order to generate an HTML document that includes these inline styles, one either has to convert everything or update Pynliner to be able to be case-insenstive.

A pull request submitted here attempts to generate these inline styles automatically from the original file. The script can probably be adapted to generate any Jelly-based document, though some replace/substitution has to be done at the end.

Hopefully the changes are incorporated into Pynliner too:


blog comments powered by Disqus