簡體   English   中英

如何在 XSLT 文檔中放置此行 > data-masonry='{"percentPosition": true }' 而不會破壞它

[英]How to place this line > data-masonry='{"percentPosition": true }' in XSLT document withoout breaking it

我想在 SobiPro 中使用https://getbootstrap.com/docs/5.0/examples/masonry/中描述的 Bootstrap Masonry 和 Joomla 4 Cassopedia Tempalte。

我需要這樣的 div - <div class="row" data-masonry='{"percentPosition": true }'>

但是,在 XSLT 文檔中使用的上述內容會產生錯誤。

如何在 XSLT 中包含data-masonry='{"percentPosition": true }'以使 Masonry 工作?

謝謝

好的,這似乎工作data-masonry="{percentPosition=true}"

任何人都可以看到上面的問題嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM