Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
141Mantis PluginsSnippetspublic2010-04-16 02:132010-05-25 13:36
Assigned ToJohn Reese 
Product Version 
Target VersionFixed in Version 
Summary141: Apostrophes in snippet value truncate its insertion into the bugnote textarea
DescriptionLet's imagine you have the following snippet:

Name = Great
Value = It's great

When you select it for insertion into a bug note, you get this:

The apostrophe and any text after it is ignored. This is because snippets.js does not escape the apostrophe when creating the "option" for the select box.

The attached patch takes care of this.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (191)
John Reese (administrator)
2010-04-16 07:26

The attached patch seems like the same patch listed for issue 139. I assume you meant to attach a different patch?
User avatar (194)
obones (reporter)
2010-04-16 07:32

Woops, yes, my bad.
Here is the correct file.

- Issue History
Date Modified Username Field Change
2010-04-16 02:13 obones New Issue
2010-04-16 02:13 obones File Added: snippets.js.diff
2010-04-16 07:26 John Reese Note Added: 191
2010-04-16 07:26 John Reese Assigned To => John Reese
2010-04-16 07:26 John Reese Status new => feedback
2010-04-16 07:31 obones File Added: snippets.js.2.diff
2010-04-16 07:32 obones Note Added: 194
2010-04-16 07:32 obones Status feedback => assigned

Copyright © 2000 - 2012 MantisBT Group
Time: 0.1402 seconds.
memory usage: 8,363 KB
Powered by Mantis Bugtracker

hosted with