chairuosen
V2EX  ›  问与答

豆瓣的同学来领 BUG

  •  
  •   chairuosen · Dec 26, 2017 · 3005 views
    This topic created in 3088 days ago, the information mentioned may be changed or developed.
    最近逛豆瓣发现好多帖子都是 draft.js 的结构化 json 直接打出来了。
    比如 https://movie.douban.com/subject/26581830/discussion/615115894/
    也许新版本他们换 draft.js 渲染了,但是没处理老版本兼容。这种情况应该加字段区分呀
    Google 一下也能搜到一堆 `site:douban.com inlineStyleRanges`
    1 replies    2018-05-31 11:04:00 +08:00
    su27
        1
    su27  
       May 31, 2018
    今天才看到,当然是有字段区分的,但有 bug 导致某些帖子的老版本转换为新版本的时候出了问题。在查,多谢报告!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3964 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:06 · PVG 13:06 · LAX 22:06 · JFK 01:06
    ♥ Do have faith in what you're doing.