Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx product:condition. #3209938 by Sutharsan, murilohp, DamienMcKenna: Edit form title does not contain path. #3218647 by luisrhaas, DamienMcKenna, Anybody: Remove line breaks from meta tag output. Metatag 8.x-1.16, 2021-03-15 Loading src/Plugin/metatag/Tag/MetaNameBase.php +4 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,10 @@ abstract class MetaNameBase extends PluginBase { /** * Make the string presentable. * * This removes whitespace from either side of the string, and removes extra * whitespace inside the string so that it only contains one single space, * all line breaks and tabs are replaced by spaces. * * @param string $value * The raw string to process. * Loading tests/src/Unit/MetaNameBaseTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ use Drupal\Tests\UnitTestCase; * @group metatag */ class MetaNameBaseTest extends UnitTestCase { /** * The MetaNameBase Mocked Object. * Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx product:condition. #3209938 by Sutharsan, murilohp, DamienMcKenna: Edit form title does not contain path. #3218647 by luisrhaas, DamienMcKenna, Anybody: Remove line breaks from meta tag output. Metatag 8.x-1.16, 2021-03-15 Loading
src/Plugin/metatag/Tag/MetaNameBase.php +4 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,10 @@ abstract class MetaNameBase extends PluginBase { /** * Make the string presentable. * * This removes whitespace from either side of the string, and removes extra * whitespace inside the string so that it only contains one single space, * all line breaks and tabs are replaced by spaces. * * @param string $value * The raw string to process. * Loading
tests/src/Unit/MetaNameBaseTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ use Drupal\Tests\UnitTestCase; * @group metatag */ class MetaNameBaseTest extends UnitTestCase { /** * The MetaNameBase Mocked Object. * Loading