[Lazarus] Help extending a python script

JoshyFun joshyfun at gmail.com
Wed May 27 13:10:22 CEST 2009


Hello Lazarus,

Wednesday, May 27, 2009, 10:04:28 AM, you wrote:

VS> I wondered if there are some python users on this list that can help us to fix issue
VS> 13838: http://bugs.freepascal.org/view.php?id=13838
VS> Basically the svn2feed.py script from
VS> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/svn2feed.py needs to be
VS> extended, so that is limits the length of a line in the log messageand wraps the
VS> rest to next line(s).

One trick could be to change the CSS associated to change the "pre"
tag behavior using this style:

<style type="text/css">
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
</style>

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list