Question

Comment produire quelque chose comme à l'aide de la balise CFOUTPUT.

     <cfoutput>
         <this is my word="word" value="#abcg#">
     </cfoutput>

Cela ne me permet rien quand j'utilise une seule citation, il l'imprimera avec une seule citation comme

     <cfoutput>
        <'this is my word="word" value="#abcg#"'>
     </cfoutput>

résultat est:

      <'this is my word="word" value="#abcg#"'>

Comment puis-je obtenir juste

    <this is my word="word" value="#abcg#">

Merci pour l'aide

Était-ce utile?

La solution

Vous pouvez utiliser ce qui suit pour échapper au navigateur en essayant de le rendre comme une étiquette HTML

<cfoutput>
    &lt;this is my word="word" value="#abcg#"&gt;
 </cfoutput>

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top