-
2005-04-27
Example:
--
Hello <html><strong>world</strong>!</html>
--
Is rendered as:
--
Hello
world
!
--
It should be on the same line!
While:
--
* Hello <html><strong>world</strong>!</html>
--
Is rendered as:
--
- Hello <html><strong>world</strong>!</html>
--
It should be rendered as html I think...
It wasn't so with the previous parser. It worked well.
-
2005-04-29
quaqo
It's the same for <file>, etc...
-
2005-04-29
andi
The first problem is not reproducable with the latest devel version. Works just as expected (all on on a line).
The second problem is real.
-
2005-04-29
andi
Okay block syntax is now working in lists, too.
-
2005-04-29
andi
Ropened by request. Please attach the raw data you used as text file to this task.
-
2005-04-29
quaqo
-
2005-04-29
andi
Okay you're right. This seems to be a problem with correct opening and closing of paragraphs. Doku_Handler_Block::process in handler.php seems to be the place were this should be fixed. Any help appreciated.
-
2005-04-29
quaqo
For the first problem (, seems like something wrong with these instructions in the function you suggested:
$this->calls[] = array('p_open',array(), $call[2]);
and
$this->inParagraph = TRUE;
(lines: 1313 and 1329)
I hardly know how DokuWiki's parser is structured... So I can't exactly hack on it. :(
For the second problem (<html> in lists) I don't know where to look at all.
-
2005-04-30
quaqo
Nice. Now it works in lists... :-)
But the paragraphs opening/closing problem still remain...
-
2005-06-17
ChrisS
I am new to looking at this parser, so I don't know the impact of changes ...
however, this bug appears to be solvable by removing 'html' from the array of blockOpen and blockClose tokens in the Doku_Handler_Block class (inc/parser/handler.php - around line #1200).
It also appears to work sensibly when htmlok is set to 0. I say sensibly rather than properly, as the html generated is incorrect (as it was before this fix). The list item generates a span, that span needs to be closed before adding the markup for <file> (which is what <html> is treated as with htmlok=0) and then reopened again.
-
2005-06-28
andi
fixed in devel
-
Related tasks: