Skip to content

Warning during doc generation: warning: unclosed HTML tag K #710

Closed
@pellico

Description

@pellico

When generating documentation for generated PAL I get:
warning: unclosed HTML tag K --> src\srss\res_cause2.rs:47:5 | 47 | #[doc = "Bits 0:15 - Clock supervision logic requested a reset due to loss or frequency violation of a high-frequency clock. Each bit index K corresponds to a HFCLK<K>. Unimplemented clock bits return zero."]

The reason is clearly are the angle brackets. Looking at CMSIS specs nothing forbid to use angle brackets. Moreover the generated documentation has bad formatting due to embedded tag.

I expect that svd2rust escapes this kind of characters.

svd2rust version 0.28.0
In attachment one of SVD files that triggers the issue.
cyt2b9.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions