Hi,

I'm maintaining a website of a client who's using SH404.
I'm not looking for support or help just wanted to report an issue as I did not find any option on "get support" page for some reason.

If a joomla article includes styles the component generates invalid description. Example:

Article:

<style>h1 {color: red}</style>
<p>This is a great article</p>


The generated description is:

<meta name="description" content="h1 {color: red} Website title - This is a great article">

but I'd expect:
<meta name="description" content="Website title - This is a great article">


this can be fixed in metadata.php now:

		$expressions = array(
'/<script\s[^>]*>.*<\/script>/uUis',


fixed:

$expressions = array(
'/<style>.*<\/style>/uUis',
'/<script\s[^>]*>.*<\/script>/uUis',


With thanks,
Peter
Responses (1)
  • Accepted Answer

    Tuesday, November 27 2018, 04:50 PM - #Permalink
    Hi Peter,

    Thanks for the report, this will be in next release!

    Best regards
    The reply is currently minimized Show
Your Reply