View Issue Details

IDProjectCategoryView StatusLast Update
0000565Composr[All Projects] General / Uncategorisedpublic2012-06-08 18:17
ReporterChris GrahamAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0000565: Problems with switching WYSIWYG editor on/off, and more
Description1) If the magical "#8203;" character becomes detached from it's position next to a Comcode tag, the Comcode conversion won't know to remove it. Fix that.

2) Doing a WYSIWYG 'discard' should not be an option if the Comcode being edited has been rendered in 'semi parse mode' for the WYSIWYG editor, because WYSIWYG-intended code would then be brought outside the WYSIWYG editor. This might not be a real bug, but the code should be more careful about this.

3) Comcode conversion when the magical '​' character is there can cause major problems if the site is not in utf-8 and the site doesn't have iconv or mbstring PHP extensions. This is because it can't deal with the utf-8 version of '​' that Javascript passes and will leave it as some corrupt ISO-8859-1 characters instead. Solution: strip '​' before asking the server to do a Comcode conversion.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2012-06-08 18:17

administrator   ~0000612

Fixed in git commit c28a965 (https://github.com/chrisgraham/Composr/commit/c28a965 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-565, 2012-06-08 7pm.tar (81,920 bytes)

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised