j7260a / green-turtle

Automatically exported from code.google.com/p/green-turtle
0 stars 0 forks source link

RDFaPredicate.prototype.toString #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Assume that a triple with a literal object, which contains more than one ' " ', 
the problem is that the generated string only replace the first ' " ' with ' \" 
'.

For example: Sophia Antipolis è un "parco tecnologico" sito tra le città 
francesi di Nizza e Cannes
The result is: Sophia Antipolis è un \"parco tecnologico" sito tra le città 
francesi di Nizza e Cannes, 
which should be: Sophia Antipolis è un \"parco tecnologico\" sito tra le 
città francesi di Nizza e Cannes

What version of the product are you using? On what operating system?
version:RDFa.1.2.0.js
OS: Mac OS X 10.9.2, firefox v27

Original issue reported on code.google.com by songf...@gmail.com on 28 Mar 2014 at 2:54

GoogleCodeExporter commented 8 years ago
I have a fix checked in for this in github but I'm going to leave it open till 
I setup a proper test to test it in other browsers (it works in Chrome).

https://github.com/alexmilowski/green-turtle/commit/8ba64462138c5a36c6140b72b1cd
7dfd2ed8ebd1

Original comment by a...@milowski.com on 4 Jun 2014 at 11:03