View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007748 | OXID eShop (all versions) | 2.7. Customer info | public | 2024-11-20 19:10 | 2024-11-21 09:57 |
Reporter | mario_lorenz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 7.0.0 | ||||
Summary | 0007748: WYSIWYG-Editor (Summernote) does not allow double quotation in double quoted twig-tags | ||||
Description | In 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 Reproduce | Try to save this link in our WYSIWYG-Editor: {{ seo_url({ ident: | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||