Subject: | [PATCH] translate <pre> blocks to {noformat} |
Date: | Tue, 11 Aug 2009 13:41:34 -0700 |
To: | bug-HTML-WikiConverter-Confluence [...] rt.cpan.org |
From: | Eric Wong <normalperson [...] yhbt.net> |
Hello, thank you very much for this module, it works great so far except
for one small problem I encountered. I have some preformatted text in
<pre> tags that needed to be preserved in preformatted form.
The following patch seems to fix the problem for me:
--- Confluence.pm.orig
+++ Confluence.pm
@@ -73,6 +73,7 @@
li => { start => \&_li_start, trim => 'leading' },
dt => { alias => 'li' },
dd => { alias => 'li' },
+ pre => { block => 1, start => '{noformat}', end => '{noformat}' },
# Working with tables: http://confluence.atlassian.com/display/CONF20/Working+with+Tables
# TODO
--
Eric Wong