Skip to content

Problem with <cxx-example> within <p> block #7

Open
@jaredhoberock

Description

@jaredhoberock

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions