Cornerstone Line element outputs invalid HTML code: hr end tag

Hey,

The Line element of the builder outputs a </hr> tag, e.g.:

`<hr class="x-line e17905-e15 mdtd-11 mdtd-12"></hr>`

Note: the end tag must be omitted for the HTML <hr> element as per the standard.

Hi Diego,

Unfortunately, we are not able to replicate the problem at our end. Can you please share the URL where you are facing the problem for further investigation? Please check and confirm that you are using the latest version of Theme, if not, please update it and check the issue once again.

Thanks

Hi,

Before reporting the issue I already had the last version of the theme, which currently is Pro Version 6.5.7.

I already shared the URL in the secure note. It is the blue line. Please, make sure you are not inspecting the code with the developer tools –as it corrects the invalid end tag automatically–, instead take a look at the source code directly. I enclose a screenshot:

Thank you

1 Like

Hi Diego,

While checking in the Browser Debugger, it shows the <hr> tag only, but in the view source, the issue can be replicated in the local environment. I will report it to the development team for further investigation.

Thanks

We’ll update this in the next release. Have a great day.

Hi Tristup,

I am glad you could replicate it. Yeah, the Browser Debugger –I guess you are referring to the browser DevTools Elements tab– does not show the HTML source code but –I believe– a DOM tree representation that always outputs correct HTML syntax.

Thank you!

Hi Charlie,

Thanks for chiming in to reassure us. You have a great day too.

1 Like

Hey Diego,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.