【问题标题】:(Hybris) Problem importing html classes in impex(Hybris) 在 impex 中导入 html 类的问题
【发布时间】:2021-06-30 09:41:41
【问题描述】:

我正在尝试使用 html 导入 impex,它出现在没有类的网页中。例如这个 h1 类 (content-page__title) 没有出现。

UPDATE CMSParagraphComponent; $contentCV[unique = true]; uid[unique = true]; content[lang = $lang]

; ; CMSParagraph-FrequentQuestionsPage       ; "<h1 class='content-page__title'>Preguntas frecuentes</h1>"

【问题讨论】:

    标签: hybris impex hybris-data-hub


    【解决方案1】:

    您使用的引号不正确....

    像下面这样使用,

    UPDATE CMSParagraphComponent; $contentCV[unique = true]; uid[unique = true]; content[lang = $lang]
    
    ; ; CMSParagraph-FrequentQuestionsPage       ; "<h1 class=""content-page__title"">Preguntas frecuentes</h1>"
    

    你也可以使用像 "

    这样的 html 编码

    参考以下链接,

    Escape_Double_Quotes

    【讨论】:

      猜你喜欢
      • 2017-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多