We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 8596 - Allowed HTML syntax for attributes is incorrect
Allowed HTML syntax for attributes is incorrect
Product: OMP
Classification: Unclassified
Component: User Interface
All All
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2014-03-07 12:12 PST by Alec Smecher
Modified: 2014-03-12 15:19 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2014-03-07 12:12:57 PST
See http://pkp.sfu.ca/support/forum/viewtopic.php?f=40&t=11743 for a description of the issue.
Comment 1 Alec Smecher 2014-03-07 12:14:08 PST
The syntax for the allowed_html configuration directive in config.inc.php should follow http://htmlpurifier.org/live/configdoc/plain.html#HTML.Allowed -- thus the default configuration should be...

allowed_html = "a[href|target],em,strong,cite,code,ul,ol,li,dl,dt,dd,b,i,u,img[src|alt],sup,sub,br,p"
Comment 2 Alec Smecher 2014-03-07 12:16:01 PST
Fix allowed_html template
Comment 3 Alec Smecher 2014-03-07 12:17:02 PST
Fix allowed_html template
Comment 4 Alec Smecher 2014-03-12 15:19:02 PDT
Fix allowed_html template