//>>built
define("dojox/dtl/filter/htmlstrings",["dojo/_base/lang","../_base"],function(f,g){var b=f.getObject("filter.htmlstrings",!0,g);f.mixin(b,{_linebreaksrn:/(\r\n|\n\r)/g,_linebreaksn:/\n{2,}/g,_linebreakss:/(^\s+|\s+$)/g,_linebreaksbr:/\n/g,_removetagsfind:/[a-z0-9]+/g,_striptags:/<[^>]*?>/g,linebreaks:function(a){var d=[];a=a.replace(b._linebreaksrn,"\n");a=a.split(b._linebreaksn);for(var c=0;c<a.length;c++){var e=a[c].replace(b._linebreakss,"").replace(b._linebreaksbr,"\x3cbr /\x3e");d.push("\x3cp\x3e"+
e+"\x3c/p\x3e")}return d.join("\n\n")},linebreaksbr:function(a){return a.replace(b._linebreaksrn,"\n").replace(b._linebreaksbr,"\x3cbr /\x3e")},removetags:function(a,d){for(var c=[],e;e=b._removetagsfind.exec(d);)c.push(e[0]);c="("+c.join("|")+")";return a.replace(new RegExp("\x3c/?s*"+c+"s*[^\x3e]*\x3e","gi"),"")},striptags:function(a){return a.replace(dojox.dtl.filter.htmlstrings._striptags,"")}});return b});