Encode slashes and remove tags from images
quicksketch - March 31, 2007 - 07:26
| Project: | Textimage |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | danielb |
| Status: | patch (code needs work) |
Description
Sorry I keep making so many issues :) I'm correcting my own code, and I just keep finding all kinds of problems.
When a generated text image contains a slash, the output is incorrect and only shows content after the last slash. Also, HTML tags should probably be removed before showing the image. For example, a text image displaying "Are you sure you want to delete <em>My Node</em>? shows "em>?".
Both issues contribute to this problem. The attached patch encodes slashes and removes tags.
| Attachment | Size |
|---|---|
| textimage_path.patch | 1.29 KB |

#1
This patch didn't solved the issue here. Only the things after the last "/" appears.
#2
I have also been waiting for a fix to this problem. So here it is.
#3
Neither of these patches could possibly fix the slash issue, the problem goes much deeper.