Typically, HTML purifier allows all forms of the a attribute, but for some reason it filters out the "file://" protocol, leaving only the surrounding the text. I believe the problem can be fixed by adding it into the one of the "Allowed sections" of the configuration page, though there is no "allowed protocol."
Comments
Comment #1
Ender2 commentedComment #2
attheshow commentedsubscribing
Comment #3
ezyang commentedWhy do you need file:// links? They were consciously left out as a security risk.
Comment #4
Ender2 commentedOne of our college departments uses it to map to a video file on a consistently named and mapped network drive. The page that contains the link will likely require authentication.
Comment #5
ezyang commentedFixed in upstream Git, pending new release.
http://repo.or.cz/w/htmlpurifier.git/commit/ec86598446cdf193f866cc018518...