View Issue Details

IDProjectCategoryView StatusLast Update
0007748OXID eShop (all versions)2.7. Customer infopublic2024-11-21 09:57
Reportermario_lorenz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version7.0.0 
Summary0007748: WYSIWYG-Editor (Summernote) does not allow double quotation in double quoted twig-tags
DescriptionIn Twig templates, for example, there are snippets like this:

{{ seo_url({ ident: oViewConf.getSelfLink() ~

As you can see, there are double quotation marks within the Twig tag. The entire tag is also in double quotation marks. The Twig engine can render this without any problem.

But if I insert such a link into our WYSIWYG editor or VCMS editor, the link is destroyed when saved.

For testing, you can also simply use the content embedding link:
{{ seo_url({ ident:

The destroyed link then looks like this:
{{ seo_url({ ident:

The link will only not be destroyed if the link is built without the inner double quotation marks:

{{ seo_url({ ident: 'oxtartwelcome', type='oxcontent' }) }}

Since the Twig engine has no problems with this and we use double quotation marks in our templates everywhere, including in the links, the WYSIWYG editor should not destroy these links.
Steps To ReproduceTry to save this link in our WYSIWYG-Editor:
{{ seo_url({ ident:
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.