Timestamp format

Created on 2 August 2024, 9 months ago

Client has a podcast on a page, they also added a transcript of the podcast to the body field. In the transcript they are timestamping when people are talking like "Bob [23:23] - I think that's a great idea" but Drupal interprets that as a token, and ends up removing the timestamp, so now it says "Bob - I think that's a great idea" -- is there a way within ckeditor to prevent token module from replacing this? or is there an alter hook or something I should be using to skip this? Thanks in advance!

💬 Support request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇨🇦Canada porchlight

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @porchlight
  • 🇨🇭Switzerland berdir Switzerland

    This module doesn't do token replacements in content, you are likely using token_filter.

    I don't think there is a built-in escape mechanism, but token replacement is something you configure per text format. For performance reasons and if possible, I would recommend you set up a specific format and only use that if you need to replace tokens in that specific case.

  • Status changed to Closed: works as designed 9 months ago
  • 🇨🇦Canada porchlight

    @Berdir Thank you! After you said that I looked around some more and found this in the token_filter settings form.

Production build 0.71.5 2024