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

1 line
228 B
JavaScript

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}]}}}());