Re: BBC Parsing
Reply #150 –
As I mentioned, though, the attach id is available only if we rely on javascript, or if we replace the tag after the post is made...
Re: BBC Parsing
Reply #153 –
LOL I was thinking the same thing ! But a change like that would have to be in B1 for sure.
Re: BBC Parsing
Reply #154 –
It makes more sense than adding a message id to the BBC parser.
Re: BBC Parsing
Reply #157 –
Must be the preparser or editor playing around with the tags.
I know the preparser already does a large host of fixing (tables, fonts, lists, quotes, empty tags, etc) so to answer the question I would think the fixing should be part of that code so its done once.
Should at some point consider renaming it from preparsecode to preparse_bbc since it does a lot more than code stuff.
Re: BBC Parsing
Reply #158 –
The class I'm using locally is named \BBC\Preparser and the main method is parse(). It's a radically different preparser that is taking a lot of thinking to get right.
Re: BBC Parsing
Reply #164 –
Looks like the output lines are the same as the input? Are those supposed to be the html output from the parser instead?