Render Container - Only one class rendered
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.3k
- Forks
- 510
- Avg merge
- 8d 5h
- Merged PRs (30d)
- 5
Description
Hello,
It seems that when I create a container with more than one class, only the first class is rendered.
The following Markdown:
::: a-class another-class
:::
I would expect the following:
<div class="a-class another-class"></div>
Instead I am getting only the first class rendered.
I have created a .Net Fiddle to demo
I guess this is an issue with HtmlRenderer.WriteAttributes ?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the container attribute handling around HtmlRenderer.WriteAttributes using the Markdown example and linked .Net Fiddle. The work is done when rendering ::: a-class another-class ::: produces a div whose class attribute contains both classes, with a regression check if the existing test structure is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, markdown
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100