Board Thread:New Features/@comment-24739709-20150518230347/@comment-4522253-20150613202643

Dessamator wrote: 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. I use mw.html extensively in other Lua modules, and I'm augmenting and altering the existing module / extension (which uses mw.html). Haven't had any real issues with error handling in other projects, but I doubt it will be a problem.