mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Add escape tag for templates
The new underscore template includes a tag sequence for escaping. I added an override for that tag that is consistent with our overrides for evaluation and interpolation.
This commit is contained in:
parent
b05e3bf147
commit
818e26c5bc
@ -11,7 +11,8 @@ var _ = require('underscore'),
|
||||
// override default settings
|
||||
var settings = {
|
||||
evaluate: /<\?js([\s\S]+?)\?>/g,
|
||||
interpolate: /<\?js=([\s\S]+?)\?>/g
|
||||
interpolate: /<\?js=([\s\S]+?)\?>/g,
|
||||
escape: /<\?js~([\s\S]+?)\?>/g
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user