discourse/vendor/assets/javascripts/highlightjs/languages/erb.min.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

1 line
228 B
JavaScript
Raw Normal View History

hljs.registerLanguage("erb",function(){"use strict";return function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}}());