2 A Mantis/HTMLPurifier Installation
4 In my quest for a bugtracker, I think I've also found the ideal candidate
5 for the first integration with HTML Purifier. Mantis uses HTML comments,
6 so it was quite easy to plug in TinyMCE + HTML Purifier to demonstrate just
7 what HTML Purifier can do.
9 All files and directories prefixed with an underscore are items added by
10 my customization. I also had to patch some core files:
13 - string_display() : use only HTML Purifier
14 - string_api() : rm string_insert_hrefs(), use HTMLPurifier
15 - string_textarea() : use HTML Purifier before escaping
16 - string_get_bugnote_view_link() : remove prepended 'Note: '
19 - bugnote_format_id() : prepend tag to format
22 - bug_format_id() : prepend tag to format
25 - html_header() : do not output header HTML if no header is set
28 - print_project_option_list() : do not use string_display() on project names
31 - patched to make pages cacheable correctly with proper headers
34 - rewritten to be less teletype oriented, since we are allowing html
37 - removed invalid color declarations
39 lang/string_english.txt
40 - changed encoding to UTF-8
41 - renamed Change log to Versions page
42 - added link to versions page explaining versions
44 Be sure to redo these customizations during upgrade. I owe it a lot to the
45 Mantis team for centralizing everything. This is procedural programming at
48 Note that as a security measure, UTF-8 English is the only language allowed.
49 To expand language support, all the string files must be converted to UTF-8.