whenever i add a quote (") quotes-collection is adding a leading slash to it.
so
”help me"
becomes
\”help me\"
i am guessing this is a 2.9.1 incompatibility. when i use html escape codes (ὕ) those work fine.
thanks again for an excellent plugin.
whenever i add a quote (") quotes-collection is adding a leading slash to it.
so
”help me"
becomes
\”help me\"
i am guessing this is a 2.9.1 incompatibility. when i use html escape codes (ὕ) those work fine.
thanks again for an excellent plugin.
Same problem for me. Using HTML codes in place of special characters works. For reference:
had a problem with apostrophe so I changed it to "& # 39;" or "& # 146;"
Quotation marks would be "& # 34;"
or left "& # 147;" and right "& # 148;"
(NOTE - USE THE CODES INSIDE QUAOTATION MARKS & REMOVE SPACES)
you can find more HTML numerics codes here: http://www.osdata.com/system/physical/charcode.htm
i switched to "Stray Random Quotes" and it works well.
This is solved in version 1.3.8. Anybody still having this issue, please report back.
Hi SriniG,
Thanks for the great plugin. I found one other place where the quotes need to have slashes stripped.
In the quotescollection_txtfmt function (line 119) I added this line:
$value = stripslashes($value);
and it solved slashes being included when not doing ajax quotes for me:
function quotescollection_txtfmt($quotedata = array())
{
if(!$quotedata)
return;
foreach($quotedata as $key => $value){
$value = " {$value} ";
$value = ereg_replace(":space::alpha:+://[^<>[:space:]]+[[:alnum:]/]"," <a href=\"\\">\</a>", $value);
$value = ereg_replace(":alpha:+://[^<>[:space:]]+[[:alnum:]/]:space:","<a href=\"\\">\</a> ", $value);
$value = stripslashes($value);
$value = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($value))));
$quotedata[$key] = $value;
}
return $quotedata;
}
If this doesn't break other functionality, maybe we can get that added to the core plugin?
Thanks again,
Gabriel
This topic has been closed to new replies.