Come emettere qualcosa di simile a Usando CFOUTUTUPUT ColdFusion
-
21-12-2019 - |
Domanda
Come produrre qualcosa come usare il tag cfutput.
<cfoutput>
<this is my word="word" value="#abcg#">
</cfoutput>
.
Questo non mi dandone nulla quando utilizzo la citazione single lo stampa con quotazione single come
<cfoutput>
<'this is my word="word" value="#abcg#"'>
</cfoutput>
.
Risultato è:
<'this is my word="word" value="#abcg#"'>
.
Come posso ottenere solo
<this is my word="word" value="#abcg#">
.
Grazie per l'aiuto
Soluzione
È possibile utilizzare quanto segue per sfuggire al browser cercando di renderlo come tag HTML
<cfoutput>
<this is my word="word" value="#abcg#">
</cfoutput>
. Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow