Page 3 of 3
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 10:11 am
by Timbalu
As far as I know 2k11 has no feed_* tpls, they are in default and last modified two years ago...
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 10:55 am
by garvinhicking
Hi!
AFAIR ATOM *requires* xhtml content type; it cannot be switched to HTML(5).
Anyhow, Dirk: nl2p seems to generate this problem; did you disable it for this entry? There's definitely a text markup plugin involved messing with the code, because your original pasted code doesn't contain the buggy </p> nesting.
Regards,
Garvin
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 11:20 am
by Lux
garvinhicking wrote:Anyhow, Dirk: nl2p seems to generate this problem; did you disable it for this entry? There's definitely a text markup plugin involved messing with the code, because your original pasted code doesn't contain the buggy </p> nesting.
No, I did not disable it for the second one. Malte (onli) already stated that it is an error of NL2P, I wait for the fox, ehm, fix.
Cheers
Dirk
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 5:28 pm
by onli
Lux wrote:Malte (onli) already stated that it is an error of NL2P, I wait for the fox, ehm, fix.
I must admit I'm not sure I'll be able to fix that without a rewrite (for which i'm not sure to have the time). It's a complex piece of code and it feels like i already fixed that bug (probably another, triggering this one, or only trying to fix it). But didn't check the code yet.
My solution for this bug in this particular case (and in the meantime) would be to disable the plugin for this entry.
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 6:21 pm
by Timbalu
Malte, as this is happening in nested list entries, why not make a regex to avoid the replacement with p in nested cases? This would allow Lux to keep his entries, without disabling nl2p in each single one.
(or merge my 2.13 ISOBR <nl> tag </nl> to also work in p environments, but this would only supply for future or re-edited entries)
Re: [podcasting] invalid token
Posted: Tue Mar 27, 2012 7:14 pm
by Lux
Timbalu wrote:Malte, as this is happening in nested list entries, why not make a regex to avoid the replacement with p in nested cases? This would allow Lux to keep his entries, without disabling nl2p in each single one.
This is what I thought of.
Cheers
Dirk
Re: [podcasting] invalid token
Posted: Wed Mar 28, 2012 12:31 am
by onli
The whole parser is not regex-based anymore. It goes from right to left, counting newlines, and adding the p-tags where appropriate.