dev_forum
hjm 6 years ago
parent 18a37dda3a
commit 41c65dc865

@ -283,6 +283,9 @@ class LeftView extends Component {
color: #CDCDCD;
flex: 0 0 45px;
}
.markdown-body ol, .markdown-body ul {
padding-left: 2.5em;
}
`}</style>
<div className="multiLevelAnswer">
@ -293,7 +296,7 @@ class LeftView extends Component {
<div className="name">{item.name}</div>
<div className="status">已解锁</div>
</div>
<div className="contents" dangerouslySetInnerHTML={{__html: markdownToHTML(item.contents)}}>
<div className="contents markdown-body" dangerouslySetInnerHTML={{__html: markdownToHTML(item.contents)}}>
</div>
</div>
})}

Loading…
Cancel
Save