Skip to content

Doc2md - markdown and html does not account for not-marked-up spaces #478

@kasperrander

Description

@kasperrander

When creating Markdown or HTML with the plugin Doc2md in OnlyOffice, spaces are not respected if only the words have markup.

Example:

Given the sentence: "word1 word2 word3"

  • where the words themselves are formatted as bold text - but the spaces between the words are not formatted as bold text.

This will render:
**word1 word2 word3**
or
<strong>word1 word2 word3</strong>

I would expect (and want/need):
**word1** **word2** **word3**
or
<strong>word1</strong> <strong>word2</strong> <strong>word3</strong>

  • which is what I get when I use the plugin Docs™ to Markdown in Google Docs.

Is this intended or is it a bug?

Regards,
Kasper

Metadata

Metadata

Assignees

No one assigned

    Labels

    Doc2mdIssues with plugin Doc2mdconfirmed-bugIssues with confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions