Open
Description
I've noticed that placing <cxx-example>
within a paragraph will cause the example to be closed immediately without surrounding the example text.
The following HTML should reproduce the bug. To workaround the issue, I close the <p>
before using <cxx-example>
, and it produces the output I expect.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/cxx-html-doc-framework/framework.html"/>
</head>
<body unresolved="">
<p>
<cxx-example><pre>
foo bar</pre>
</cxx-example>
</p>
</body>
</html>