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

Issue with p containing formatted text and a br #41

Closed
senny opened this issue Dec 17, 2015 · 2 comments
Closed

Issue with p containing formatted text and a br #41

senny opened this issue Dec 17, 2015 · 2 comments

Comments

@senny
Copy link

senny commented Dec 17, 2015

There seems to be something wrong when using formatted text and a br inside the same p tag. A minimal reproduction looks like this:

<p><strong>bold:</strong> text.<br />after br</p>

The resulting word document looks like this:

screen shot 2015-12-17 at 10 46 12

and the WordprocessingML looks like this:

<w:p xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage" xmlns:str="http://exslt.org/strings" xmlns:fn="http://www.w3.org/2005/xpath-functions">
  <w:r>
    <w:rPr>
      <w:b/>
    </w:rPr>
    <w:t xml:space="preserve">bold:</w:t>
  </w:r>
  <w:r>
    <w:t xml:space="preserve"> text.</w:t>
  </w:r>
</w:p>
@senny
Copy link
Author

senny commented Dec 28, 2015

maybe related to #38

@senny
Copy link
Author

senny commented Jan 8, 2016

I've started to work on a custom solution to convert HTML to WordML. I'm closing the issue as I am no longer using this gem. Feel free to reopen if you want to keep track of the issue. Thanks for your time 💛

@senny senny closed this as completed Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant