bem/bemhtml-compat — pull request #6 by vkz (2014-09-01 13:57:56+00:00)
Title: Make using custom Jail grammars possible

Bemhtml parser has its Jail grammar hard-coded in one of the rules. This prevents anyone who inherits from the bemhtml Parser grammar from specifying their custom Jail grammar. This tiny change should fix it. Just assign your custom jailer like so `YourParserGrammarName.prototype._jail = MyCustomJailGrammar` and you no longer have to copy-paste the `listBemMatchAndSet` rule to your grammar just for the sake of redefining the Jail.