I am trying to add a string as a fallback for my title metatag that includes a pipe, but the module interprets the pipeline within the string as a separator between tokens, causing it to break.

Example: [node:field_title_social|node:field_headline|"My Awesome Title | My Company"]

I have attached a patch to cover this case.

Issue fork token_or-3491615

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ok4p1 created an issue. See original summary.

ok4p1’s picture

ok4p1’s picture

ok4p1’s picture

pianomansam’s picture

Status: Active » Needs work

@ok4p1 thanks for the bug report and the patch file. In order for this to be considered, please open a Merge Request with your changes. Also, please write a test showing that it solves the issue.

keshav patel made their first commit to this issue’s fork.

keshav patel’s picture

Version: 2.3.0 » 2.x-dev
Issue tags: +Needs tests

Raised an MR with the provided patch on #4#4,
Keeping it on Needs work until tests are added.