Code parts loading in only one line
Joaquin — Apr 17, 2018 05:47PM CEST
Good afternoon, I am using Full-Text 3.5 to load some websites from a rss source
(You can use this feed for example https://www.mikesdotnetting.com/feed)
and I'm finding that the code blocks are formating in one single line with the <pre class="code"> </pre> tags.
Could you tell me why it is and if there is some way to avoid it? =/
Thanks for reading my question and regards.
3 Community Answers
Joaquin - Apr 25, 2018 at 01:36AM CEST
It could be because in the site are using span inside the tag code to color the different lines and the library does not know how to interpret it well?
Keyvan Minoukadeh - May 10, 2018 at 06:05PM CEST
Yes, this looks like it's an issue with the HTML parsing done with the Gumbo extension we use. We reported a similar problem before. I'll see if we can find a fix. In the mean time, you can request that Full-Text RSS uses the HTML5-PHP parser: &parser=html5php or remove 'gumbo' from the allowed parsers in the config file.
Thanks for reporting this. I'll update again here when we know more.
Keyvan Minoukadeh - May 11, 2018 at 11:28AM CEST
This has been fixed with changes to Full-Text RSS 3.9.1. Would have affected you if you used our hosted service or if you set up your server using our server setup script. If you did that, you should set up the server again with our updated script. http://help.fivefilters.org/customer/portal/articles/1143210-hosting
Thanks for reporting this.