Escape LF/CR/CRLF codes with ZERO WIDTH NO-BREAK SPACE (U+FEFF) in readme.txt

This commit is contained in:
attosoft committed 2012-05-18 06:15:48 +00:00
1 parent 0dc053a9ca
commit efa4582324
1 file changed
+4 -4
+4 -4
View File
@@ -247,9 +247,9 @@ Yes, you can. Access 'Options' page, and check [ThickBox Resources] - [Use WordP
= How to insert line feeds in title/caption =
ThickBox Plus supports Multiline (line breaks) in title/caption. LF (`&#10;`/`&#x0A;`), CR (`&#13;`/`&#x0D;`) and CRLF (`&#13;&#10;`/`&#x0D;&#x0A;`) codes in caption/title are replaced with `<br />`.
ThickBox Plus supports Multiline (line breaks) in title/caption. LF (`&#10&#xFEFF;;`/`&#x0A&#xFEFF;;`), CR (`&#13&#xFEFF;;`/`&#x0D&#xFEFF;;`) and CRLF (`&#13&#xFEFF;;&#10&#xFEFF;;`/`&#x0D&#xFEFF;;&#x0A&#xFEFF;;`) codes in caption/title are replaced with `<br />`.
<a href="image.png" title="line1&#10;line2&#10;line3">Text</a>
<a href="image.png" title="line1&#10&#xFEFF;;line2&#10&#xFEFF;;line3">Text</a>
== Screenshots ==
@@ -265,8 +265,8 @@ ThickBox Plus supports Multiline (line breaks) in title/caption. LF (`&#10;`/`&#
* Add "Effect - Title/Caption - Zoom/Slide/Fade/None" option. Title/caption can be showed/hidden by hovering the mouse over ThickBox window.
* Add "Effect - Title/Caption - Hide initially" option
* Support a gallery that contains images with same URL. ThickBox had regarded images with same URL as one image. Now ThickBox checks images with an object instead of its URL.
* Multiline (line breaks) are supported in caption/title. LF (`&#10;`/`&#x0A;`), CR (`&#13;`/`&#x0D;`) and CRLF (`&#13;&#10;`/`&#x0D;&#x0A;`) codes in caption/title are replaced with `<br />`.
* e.g. `<a href="image.png" title="line1&#10;line2&#10;line3">`
* Multiline (line breaks) are supported in caption/title. LF (`&#10&#xFEFF;;`/`&#x0A&#xFEFF;;`), CR (`&#13&#xFEFF;;`/`&#x0D&#xFEFF;;`) and CRLF (`&#13&#xFEFF;;&#10&#xFEFF;;`/`&#x0D&#xFEFF;;&#x0A&#xFEFF;;`) codes in caption/title are replaced with `<br />`.
* e.g. `<a href="image.png" title="line1&#10&#xFEFF;;line2&#10&#xFEFF;;line3">`
* ThickBox accepts `width`/`height`/`modal` parameters in not only iframe/ajax content but also image content
* e.g. `<a href="image.png?width=100&height=100&modal=true">`
* Some improvements on "Mouse Click" action in a gallery that contains only one image. In Firefox, an image cannot be opened under certain condition.