View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
238 | Composr website (compo.sr) | General / Uncategorised | public | 2011-02-01 05:05 | 2011-05-21 16:32 |
Reporter | Guest | Assigned To | Chris Graham | ||
Priority | low | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 238: New WYSIWYG editor mangles HTML in [code] | ||||
Description | Writing HTML in a Comcode tag [code="HTML"] seems to work, but writing for example [code="PHP"]echo 'http://www.google.com';[/code] will convert that string into actual HTML. This is also highly annoying when putting "<?php", since the editor treats the rest of the page as a HTML element until it finds a corresponding ">", throwing away comcode tags in the process (such as closing [/code] tags). I'm assuming this is inherent to Composr's new WYSIWYG editor, but I've not used it outside compo.sr and dev sites. | ||||
Steps To Reproduce | 1) Make a forum post with WYSIWYG on 2) Include some PHP, including the opening PHP tag, inside a comcode "code" block with the language PHP 3) Press "Preview" 4) The text in the WYSIWYG area will be partially converted to HTML, and submitting the post in that state won't produce the expected results (compared to the non-previewed original). | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |