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 14:00 |
Reporter | mario_lorenz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | open | ||
Product Version | 7.0.0 | ||||
Fixed in Version | 7.1.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 | ||||
|
Hello, I just checked it again. I tested it in an OXID7.0. The error still occurred as described. My renewed test in an OXID7.1 shows that the error has been solved there. The inner double quotation marks were correctly converted to single quotation marks during conversion. Very good. Ticket can be closed with the note, solved in v7.1 |