Skip to content

Commit 64d0d4f

Browse files
committed
fix #263
1 parent 3b0e617 commit 64d0d4f

File tree

1 file changed

+14
-2
lines changed
  • site/templates/template/element/Pricing1

1 file changed

+14
-2
lines changed

site/templates/template/element/Pricing1/index.jsx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,20 @@ class Pricing1 extends React.PureComponent {
2222
>
2323
<QueueAnim type="bottom" {...wrapper}>
2424
<div {...topWrapper}>
25-
<div {...name} key="name" />
26-
<h1 {...money} key="money">{money.children}</h1>
25+
<div {...name} key="name">
26+
{
27+
/* replace-start-value = name.children */
28+
React.createElement('span', { dangerouslySetInnerHTML: { __html: name.children } })
29+
/* replace-end-value */
30+
}
31+
</div>
32+
<h1 {...money} key="money">
33+
{
34+
/* replace-start-value = money.children */
35+
React.createElement('span', { dangerouslySetInnerHTML: { __html: money.children } })
36+
/* replace-end-value */
37+
}
38+
</h1>
2739
</div>
2840
<div {...content} key="content">
2941
{

0 commit comments

Comments
 (0)