Board Thread:New Features/@comment-24739709-20150518230347/@comment-24473195-20150613111914

Cqm wrote: @FishTank If you're writing that, I'd take inspiration from the mw.html library. It might even do the job anyway, I don't believe it uses a whitelist of classes or tagnames. It doesn't use a white list (I just tested it out a few mins ago). The only problem I see is that error handling for that library is atrocious because it reports errors in its library not in the calling function. Without a good use of pcalls, it may be more trouble than its worth.