[Pier] Document Parser problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Pier] Document Parser problem

Thomas Froeb
Hi,

If I trie to create a Page with "_ *aLink* text" as content the Document
Parser runs into an error "Token not expected".
I tried to convince the Document Parser to accept a link behind a
horizontal rule but I don't get the right rules for the parser and
scanner. I think the parser creates a paragraph and don't expects a
horizontal rule there. If I add HorizontalRule to paragraph start and
let it return an empty array it works but creates beside the horizontal
rule a paragraph if i have linebreak after the "_". Any ideas how to
solve it a better way?

Regards, Thomas


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] Document Parser problem

Lukas Renggli-2
> If I trie to create a Page with "_ *aLink* text" as content the  
> Document
> Parser runs into an error "Token not expected".

That should not happen, I added a test-case to catch that bug.

> I tried to convince the Document Parser to accept a link behind a
> horizontal rule but I don't get the right rules for the parser and
> scanner. I think the parser creates a paragraph and don't expects a
> horizontal rule there.

The bug is fixed in "Pier-Model-lr.52.mcz".

Thanks for reporting.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki