Search
Other Articles Anywhere questions
Forum

URL not created

Minion Interactive s.r.o.'s Avatar Minion Interactive s.r.o.
Hi,

we upgraded plugin to 10.6.1PRO.
After this, when we put article to article, then all link - title, image (except read more link) contain error in links:
https://devel.zelenazeme.cz/%7BplgContentF2cSef%7D1006:co-znamena-biologicka-dostupnost-cbd-a-proc-je-tak-dulezita,56:o-konopi%7B/plgContentF2cSef%7D

== "{" and "}" replaced by HTML entities.

Demo: devel.zelenazeme.cz/konopny-magazin/kono...a-k-cemu-je-to-dobre

We found function which broken URL in plugins/system/articlesanywhere/src/Output/Output.php:
private static function fixBrokenHtmlTags($string)
{
	$params = Params::get();

	$string = RL_Html::fix($string);  // It causes an encoding error and then the System - Form2Content SEF plugin does not work
			
			// J!E - FIX - coding error
			$string = str_replace( '%7B' , '{' , $string );
			$string = str_replace( '%7D' , '}' , $string );
			
	if ( ! $params->place_comments)
	{
		return $string;
	}

	return Protect::wrapInCommentTags($string);
}

but this is only workaround.

How can we fix or is fixed in new version?
Peter van Westen's Avatar Peter van Westen ADMIN
You can probably work around this by changing the system plugin ordering.

Or disable the Fix HTML option in Articles Anywhere.
Please post a rating at the Joomla! Extensions Directory
Minion Interactive s.r.o.'s Avatar Minion Interactive s.r.o.
Thanks
I change ordering - not helped
I disabled the Fix HTML option - now is ok.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription