site: title should support inner html

pull/1200/head
Benjy Cui 9 years ago
parent 48dfb55cbb
commit aa5b298f58

@ -44,7 +44,7 @@ export function objectToComponent(pathname, object, index) {
key: index, key: index,
id: children, id: children,
}, [ }, [
object.children, <span dangerouslySetInnerHTML={{ __html: object.children }} />,
<Link to={{ pathname, query: { scrollTo: object.children } }} className="anchor" key="anchor">#</Link>, <Link to={{ pathname, query: { scrollTo: object.children } }} className="anchor" key="anchor">#</Link>,
]); ]);
} }

Loading…
Cancel
Save