Reduced schedule during conference and annual break

We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:

We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.

Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.

In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)

#6561 – SH404 Invalid description generated

Posted in ‘Pre-sale questions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 27 November 2018 12:11 UTC
woo123
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:
[code type="markup"]
<style>h1 {color: red}</style>
<p>This is a great article</p>
[/code]

The generated description is:

[code type="markup"]<meta name="description" content="h1 {color: red} Website title - This is a great article">[/code]
but I'd expect:
[code type="markup"]<meta name="description" content="Website title - This is a great article">[/code]

this can be fixed in metadata.php now:

[code type="markup"] $expressions = array(
'/<script\s[^&gt;]*>.*<\/script>/uUis',[/code]

fixed:
[code type="markup"]
$expressions = array(
'/<style>.*<\/style>/uUis',
'/<script\s[^&gt;]*>.*<\/script>/uUis',[/code]

With thanks,
Peter
Tuesday, 27 November 2018 16:50 UTC
wb_weeblr
Hi Peter,

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

Best regards
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.