Since https://www.drupal.org/node/2575819 went in exclamation mark "!" placeholders are no longer supported and results in an error.

Patch to follow.

CommentFileSizeAuthor
#2 youtube-placeholder-2616064-2.patch766 bytesmsmithcti
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

splatio created an issue. See original summary.

msmithcti’s picture

Status: Active » Needs review
FileSize
766 bytes

Switching this to an "@" placeholder which ensures it is escaped.

As far as I can tell, now escaping this value doesn't seem to cause any issues.

  • guschilds committed 2674fde on 8.x-1.x authored by splatio
    Issue #2616064 by splatio: !placeholders no longer valid
    
guschilds’s picture

Status: Needs review » Fixed

Thanks for the link to the issue and your patch. I've confirmed that it works without throwing an error. I don't think there would be a valid YouTube video ID that would be improperly displayed after being ran through "@", so this should be sufficient. I've committed it to the 8.x-1.x branch. Thanks again!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.