Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 245476 - disable HTML tag Textile extensions in BugzillaTextileLanguage
Summary: disable HTML tag Textile extensions in BugzillaTextileLanguage
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Green CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 23:57 EDT by David Green CLA
Modified: 2011-01-05 11:10 EST (History)
1 user (show)

See Also:


Attachments
patch that enables markup escaping and JUnit tests (8.35 KB, patch)
2008-08-27 23:59 EDT, David Green CLA
no flags Details | Diff
mylyn/context/zip (3.97 KB, application/octet-stream)
2008-08-27 23:59 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Green CLA 2008-08-27 23:57:11 EDT
It is common for users to paste HTML and XML tags into bug descriptions and comments, and unlikely that users will use HTML tags for markup purposes.  java class BugzillaTextileLanguage should not accept HTML tags as markup, but rather should treat them as normal text.
Comment 1 David Green CLA 2008-08-27 23:59:16 EDT
Created attachment 111154 [details]
patch that enables markup escaping and JUnit tests

this patch modifies the BugzillaTextileLanguage to escape markup, making copy/pasted text containing XML and HTML tags appear as intended
Comment 2 David Green CLA 2008-08-27 23:59:17 EDT
Created attachment 111155 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2008-09-12 17:24:20 EDT
Patch applied! Thanks David. This has bugged me a few times already. Note that you can also use "View Source" from the context menu of the viewer to display the original text.