Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First character of text is swallowed in "extra" markdown #265

Closed
jskeet opened this issue Apr 15, 2016 · 0 comments
Closed

First character of text is swallowed in "extra" markdown #265

jskeet opened this issue Apr 15, 2016 · 0 comments
Assignees
Milestone

Comments

@jskeet
Copy link

jskeet commented Apr 15, 2016

Using docfx 1.7.1 on Windows, with dnx.

docfx.json:

{
  "metadata": [ { "src": [{ "files": "project.json" }], "dest": "obj/api" } ],
  "build": {
    "content": [{
      "files": [ "**/*.yml" ],
      "cwd": "obj/api",
      "dest": "api"
    }],
    "overwrite": "extra.md",
    "dest": "_site"
  }
}

project.json:

{
  "version": "1.0.0",
  "frameworks": { "net451": { } }
}

DocfxTest.cs:

namespace Foo
{
  /// <summary>Just a demo</summary>
  public class Bar {}
}

extra.md - not the lack of a blank line after the second "---"

---
uid: Foo.Bar

---
abc

The resulting HTML file for Foo.Bar contains:

              <div class="markdown level0 summary"><p>Just a demo</p>
</div>
              <div class="markdown level0 conceptual"><p>bc</p>
</div>

Note how the a of abc has been removed.

@vicancy vicancy added the bug label Apr 18, 2016
@chenkennt chenkennt added this to the v1.9 milestone Apr 28, 2016
@qinezh qinezh closed this as completed in e4cbdb3 May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants