From 3e11f9ad94036bd03d787ca9f9295ea277d703bb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jan 2008 07:32:56 -0500 Subject: web commit by http://madduck.myopenid.com/ --- ...0__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn (limited to 'doc/bugs') diff --git a/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn new file mode 100644 index 000000000..d32b2e978 --- /dev/null +++ b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn @@ -0,0 +1,10 @@ +I am trying to add a post address to a document: + +
+ First line
+ Second line +
+ +As you can see, the `
` is being removed. I disabled [[htmlscrubber]], but that was not it. The [markdown Dingus](http://daringfireball.net/projects/markdown/dingus) on its homepage processes the inline HTML just fine. + +I tried searching the web and wiki but could not find any information on why
would be removed. -- cgit v1.2.3 From fd65bf754502b6a6ec63ec0dbd0f90e0b9e358e9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jan 2008 08:55:23 -0500 Subject: web commit by tschwinge: How to do this. --- ..._br__62___tags_are_removed_from_markdown_inline_HTML.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/bugs') diff --git a/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn index d32b2e978..e4f6be997 100644 --- a/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn +++ b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn @@ -8,3 +8,15 @@ I am trying to add a post address to a document: As you can see, the `
` is being removed. I disabled [[htmlscrubber]], but that was not it. The [markdown Dingus](http://daringfireball.net/projects/markdown/dingus) on its homepage processes the inline HTML just fine. I tried searching the web and wiki but could not find any information on why
would be removed. + +> It does work if you use `
`: +> +> First line
+> Second line +> +> Or, as we've just been told in #ikiwiki: put two spaces at the end of the first line. +> +> First line +> Second line +> +> --[[tschwinge]] -- cgit v1.2.3 From da41fcb1cd34f092a2350185ef272b796f308a63 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jan 2008 09:03:28 -0500 Subject: web commit by http://madduck.myopenid.com/: note about this still being a bug in ways --- doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/bugs') diff --git a/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn index e4f6be997..f329d5208 100644 --- a/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn +++ b/doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn @@ -20,3 +20,5 @@ I tried searching the web and wiki but could not find any information on why
Second line > > --[[tschwinge]] + +> > `
` is also valid, so this is a bug still. --[[madduck]] -- cgit v1.2.3 From 27261da09be059c6400d71138f060eb94faa407e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jan 2008 18:25:43 -0500 Subject: web commit by adb --- doc/bugs/taint_issue_with_regular_expressions.mdwn | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/bugs') diff --git a/doc/bugs/taint_issue_with_regular_expressions.mdwn b/doc/bugs/taint_issue_with_regular_expressions.mdwn index e05a59879..5ba9e19f6 100644 --- a/doc/bugs/taint_issue_with_regular_expressions.mdwn +++ b/doc/bugs/taint_issue_with_regular_expressions.mdwn @@ -19,4 +19,13 @@ which is exactly the same regular expression drawn out as a constant. It appear > checking in the debian package. You can do the same by building ikiwiki > with NOTAINT=1. :-( --[[Joey]] -[[tag done]] +---------------- +Continuing to dig into the problem I reported, it may not be taint after all. Running strings on the ikiwiki.cgi wrapper, I see stuff like: + + 'wiki_file_regexp' => bless( do{\(my $o = undef)}, 'Regexp' ) + +without any payload of the actual regexp, and that would also certainly also have the observed effect of the regexps being completely broken while running in CGI mode. This seems to implicate Data::Dumper (2.101). After upgrading Data::Dumper to 2.121 I get: + + 'wiki_file_regexp' => qr/(?-xism:(^[-[:alnum:]_.:\/+]+$))/ + +This would call for at most an installation prerequisite of Data::Dumper >= 1.121. A look at the module's changelog shows that no intervening versions were actually released, so 1.121 would be the minimal good one. -- cgit v1.2.3