Recent Topics

6.7.7 Bug: Adding Markup

Started by on Oct 08, 2016 – Contents updated: Oct 15, 2016

Oct 08, 2016 15:40    

This I noticed here on B2Evolution:

If user submit comment with a JavaScript Snippit in the Code Block for JS
[codeblock lang="javascript" line="1"] [/codeblock]

if line="#" is not 1 then it goes crazy

Oct 08, 2016 15:42

Then if you hit "save and edit" you get the Back-Office access denied

Oct 15, 2016 12:40

@achillis I confirm that publishing any of the code blocks (Markup, CSS, JS, PHP, SQL and Apache), using the line="X" parameter, when X > 1, is restricted if html validation is enabled. This is correct due to the parameter data-start included into the <pre> tag is not valid code.

What I'm unable to reproduce so far is the "going crazy" part. I'll make more tests.

Oct 15, 2016 12:42

I noticed that when pressing "save and edit"

Oct 15, 2016 12:44

Sorry, I mean pressing Save and edit while Markup validation is failing.


Form is loading...

b2 – This forum is powered by b2evolution CMS, a complete engine for your website.