GhostManager / Ghostwriter

The SpecterOps project management and reporting engine
https://ghostwriter.wiki
BSD 3-Clause "New" or "Revised" License
1.31k stars 181 forks source link

Space gets stripped in front of hyperlink #461

Closed domwhewell-sage closed 3 months ago

domwhewell-sage commented 3 months ago

Describe the bug I am adding a hyperlink to my rich text field here is the source

<p>This is a hyperlink: <a href="https://www.google.com">link</a></p>

But the whitespace between the : and the hyperlink gets stripped when rendered into a word document

image

To Reproduce Steps to reproduce the behavior:

  1. Create a new project with a extra field
  2. Add the above source to this extra field
  3. Generate a project docx and see that the space character is getting stripped

Expected Behavior Space gets preserved when adding a hyperlink

Server Specs: