3 ms·
You could modify the plugin to exclude certain areas of the comment from validation. I'm thinking of Markdown, where indented lines are code -- you could just v
by LiveTheDream 17y ago
You could modify the plugin to exclude certain areas of the comment from validation. I'm thinking of Markdown, where indented lines are code -- you could just validate non-indented lines.
- aarongough 17y agoI thought about that after the top comment. The only issue with that approach is that it would be easier to game the system if it were setup this way. Simply include your content in an indented block to bypass the filters.
- LiveTheDream 17y agoTrue, but the goal is to encourage quality comments. I think there is more benefit to allowing code markup in comments than there is potential downsides with people gaming the system. The system can be gamed anyway be a mildly persistent troll, so don't punish your good users by making commenting too hard! The system achieves the goal of "good comments" by putting up a friction barrier to terrible comments like the ones on YouTube, not impassible barrier to someone who intends on posting a bad comment.