vivliostyle/vfm

The title value from the first heading should not include the attributes notation `{...}`

MurakamiShinyu opened this issue · 0 comments

Issue Details

$ echo '# Foo {.foo}' | vfm
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Foo {.foo}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
  </head>
  <body>
    <section class="level1 foo" id="foo">
      <h1 class="foo">Foo</h1>
    </section>
  </body>
</html>

In this result, the title <title>Foo {.foo}</title> is not good. Please remove the attributes notation {.foo}.

  • VFM version
    • 1.1.0