Spectre
V2EX  ›  Java

freemarker 从后台取生成的 html 字符串在页面显示成字符而不是 html

  •  
  •   Spectre · Apr 25, 2017 · 4484 views
    This topic created in 3304 days ago, the information mentioned may be changed or developed.

    求解决方法!

    3 replies    2017-12-29 16:39:29 +08:00
    knightdf
        1
    knightdf  
       Apr 25, 2017
    content-type
    Spectre
        2
    Spectre  
    OP
       Apr 25, 2017
    @knightdf 解决了。。 StringEscapeUtils.unescapeHtml()
    Amance
        3
    Amance  
       Dec 29, 2017
    @Spectre 怎么解决的呢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3033 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:11 · PVG 23:11 · LAX 08:11 · JFK 11:11
    ♥ Do have faith in what you're doing.