Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-mapping sometimes replaces year-date (YYYY) with ids #57

Closed
madsoulswe opened this issue May 10, 2016 · 2 comments
Closed

Content-mapping sometimes replaces year-date (YYYY) with ids #57

madsoulswe opened this issue May 10, 2016 · 2 comments

Comments

@madsoulswe
Copy link

We hade an issue where 2016 (and other dates) was replace all over the site

Example page, som these were replaced with id's
History page

@KevinJump
Copy link
Owner

Yep,

the content mapper for tiny MCE is a bit blunt at the moment, it needs to be updated to use better RegEx Expressions to capture Ids inside the content .

For my reference: the following gets locallinks in a tiny mce editor

localLinkRegex = @"((?<=localLink:)([0-9]+)|(?<=data-id="")([0-9]+))";

KevinJump added a commit that referenced this issue May 10, 2016
Overriding the RegEx in the content ID mapper so we can be a bit clever
#57
@KevinJump
Copy link
Owner

This update - should fix this - it's wrapped up in some other Mapper Updates, but when they are done, this will be released too.

KevinJump added a commit that referenced this issue May 16, 2016
Overriding the RegEx in the content ID mapper so we can be a bit clever
#57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants