From 88096ea9ab9baf34a6b4d014bac99f27bd9a7fe8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 23 May 2008 07:34:41 -0400 Subject: [PATCH] web commit by http://kaizer.se/wiki/contact/: bugs on including html (as raw as possible) --- ..._91____91____33__included__93____93__.mdwn | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 doc/bugs/raw_html_in-page_and___91____91____33__included__93____93__.mdwn diff --git a/doc/bugs/raw_html_in-page_and___91____91____33__included__93____93__.mdwn b/doc/bugs/raw_html_in-page_and___91____91____33__included__93____93__.mdwn new file mode 100644 index 000000000..9a26daf24 --- /dev/null +++ b/doc/bugs/raw_html_in-page_and___91____91____33__included__93____93__.mdwn @@ -0,0 +1,95 @@ +I'm trying to add a flickr stream thing to my (static) ikiwiki. I've disabled htmlscrubber and enabled rawhtml, and I get many strange errors. + +[[!toc ]] + +## putting the html right into the markdown index.mdwn + +This should work, but html code (listing 1) shows up with a hash replaced for the actual content (listing 2) + +I have to suspect that replacing html with some hash is a bug. + +## inlining raw html + +This would be my prefered solution. in index.mdwn: + + \[[!inline pages="flickr.html" rss="no"]] + +but this refuses to show any content. Trying to RTFM and adding raw="yes" results in this error: + + uppdaterar wiki.. + söker av index.mdwn + ritar upp index.mdwn + private//ikiwiki.setup: Can't call method "param" on an undefined value at /usr/share/perl5/IkiWiki/Plugin/inline.pm line 253. + BEGIN failed--compilation aborted at (eval 10) line 63. + + +## current workaround: iframe + +I'm no html guru so I put the stuff in an iframe, but that doesn't work, since the links are script-generated and need a target="" attribute in them to load in the right place (replacing ikiwiki page). + +Ikiwiki version: 2.44 + +plugin configuration: + disable_plugins => [qw{htmlscrubber}], + add_plugins => [qw{img map rawhtml toggle template prettydate haiku meta}], + +best regards +ulrik + + +## listing 1 + + + + +
www.flickr.com + + + + +
+ + + +
englabenny's itemsGo to englabenny's photostream
+
+
+ + + +## listing 2 + + + + + 7383eb73071488c9ef46d617acf3e402 + + + + -- 2.26.2