PDA

View Full Version : Can't use double quotes


belleboomGD
25-10-2007, 05:55 PM
I've noticed that when ever I post text or code on the addon portion of the site with double quotes it comes out as """ . This is annoying when it comes to descriptive text but truly problematic when posting code. Any way to fix this?

Jumpy
25-10-2007, 07:06 PM
Either use single quote ' or put Code right at the beginning of your code and /Code right at the end. Put [ and ] around Code and /Code.

But yes, it is annoying.

Telic
03-11-2007, 02:39 PM
Nearly started a new thread but......


When submitting AddOns the text in the edit boxes is being parsed and characters are being replaced with special character strings.

i.e.
" (double quote) becomes "
< becomes &lt;
> becomes &gt;

...and drum roll please, the VICIOUSLY ironic :

& becomes &amp;

:tongue:

When I Edit the AddOn to correct the issue, the characters appear fine in the actual Edit box; But as soon as I save and return to the actual AddOn page, the characters are substituted again.

It makes the text virtually unreadable in places.

I am using the Firefox browser.

Just now when I tried to login with Internet Explorer Version: 7.0.5730.11 I edited the text and the problem still persisted.

This issue has been around for a while, can we finally get it sorted ?

Oh and btw, the tags don't help on the AddOn pages :(
They just turn the code bright yellow ^^

Take a look :
http://wowui.incgamers.com/?p=mod&m=1440

mrdummy
17-11-2007, 11:14 AM
Most problems are easy fixed with code. It's a matter of good conversion. Here my example:
To mysql:
$text=htmlentities($text, ENT_QUOTES,'UTF-8');

And back to normal for page:
$text=html_entity_decode($text, ENT_QUOTES, 'UTF-8');

That should work good with (HTML) texts.
Such errors are easy fixed in my eyes. Good luck. :thumbsup:

Rushster
20-11-2007, 02:37 AM
Agreed and Iam getting Amthea on the case.

Telic
30-12-2007, 11:07 AM
Bump-bump-bumpetty-BUMP !

Tunga
30-12-2007, 11:37 AM
Reminds me of this:
http://xkcd.com/327/

ChaosInc
27-01-2008, 07:11 PM
From BMS desc:

- add &lt;name&gt;-&lt;realm&gt;: adds &lt;name&gt; to be ignored
- remove: &lt;name&gt;-&lt;realm&gt;: removes &lt;name&gt; from ignored list


Any progress on getting this fixed?

belleboomGD
27-05-2008, 02:39 PM
Bumping this as I'm still having problems using special characters in macro code as here: http://wowui.worldofwar.net/?p=macro&m=810

I tried Jumpy's [code] fix but as you can see it just makes the text yellow (as noted above). Right now I have the broken code up next to a link to my site with usable code, but this is not a great solution:p Any chance of a fix?