y1z2g3 / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

  replaced with NO-BREAK SPACE #162

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Run <p>&nbsp;</p> through AntiSamy

What is the expected output? What do you see instead?
I would expect that the output looks identical to the input.
However, the actual output is <p> </p> where the space character is a unicode 
no-break space: http://www.fileformat.info/info/unicode/char/a0/index.htm

What version of the product are you using? On what operating system?
Version 1.5.1
Windows 8

Please provide any additional information below.
According to Issue #2, this is fixed, but not from what I've seen:
https://code.google.com/p/owaspantisamy/issues/detail?id=2&can=1&q=nbsp

Original issue reported on code.google.com by timw...@gmail.com on 23 Apr 2013 at 10:03

GoogleCodeExporter commented 8 years ago
1.4.4-:Full-width quotation marks will be transferred to “”
    “”‘’transferred to “”‘’
1.5.0+:No existence of above-mentioned issue, but   replaced with NO-BREAK 
SPACE

Original comment by tliang1...@gmail.com on 13 Apr 2015 at 4:16