Stop Dreamweaver converting find replace queries when loaded via dreamweaver.setUpComplexFindReplace

StackOverflow https://stackoverflow.com/questions/19129533

문제

I want a find/replace that matches the HTML encoded tab character 	 and replace it with a space.

When I load the following query via Dreamweaver's dreamweaver.setUpComplexFindReplace API function, the 	 is converted to a literal tab character, so no matches are made.

How do I stop the HTML encoded string from being converted?

dreamweaver.setUpComplexFindReplace('<dwquery>  <queryparams matchcase="false" ignorewhitespace="false" useregexp="false" wholeword="true" />  <find searchmode="document">    <qtext qname="&#9;" qraw="true"></qtext>  </find>  <replace action="replaceText" param1="" param2=""/></dwquery>');
dreamweaver.replaceAll();
도움이 되었습니까?

해결책

In your qtext node, change the qname value from &#9; to &amp;#9.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top