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

Export text also prints out html tags #4

Closed
Jarvil opened this issue Sep 26, 2017 · 6 comments
Closed

Export text also prints out html tags #4

Jarvil opened this issue Sep 26, 2017 · 6 comments

Comments

@Jarvil
Copy link
Contributor

Jarvil commented Sep 26, 2017

Hello,

If you have document export page the docx file output with "export text" will dipslay all the html-tags that you have used to stylize your text on a standard pages "Description of inputfield"-field are displayed in the docx-file f.ex Tell me

question1

question2

@Jarvil
Copy link
Contributor Author

Jarvil commented Oct 11, 2017

Have you already looked at this @fnoks

@fnoks
Copy link
Contributor

fnoks commented Oct 16, 2017

This is a known bug. There are two different solutions:

  1. Strip away HTML tags when generating the document
  2. Convert the tags to the markup (xml?) understood by the doc file

If someone is willing to create a pull request for this, I will be more then happy to review it and merge it in!

@Jarvil
Copy link
Contributor Author

Jarvil commented Nov 29, 2017

Hello,

Any progress on this fix? @fnoks

@fnoks
Copy link
Contributor

fnoks commented Nov 30, 2017

@Jarvil : No progress afaik, unfortunately.

@Jarvil
Copy link
Contributor Author

Jarvil commented Jan 31, 2018

Hello,

any progress on this @fnoks

@fnoks
Copy link
Contributor

fnoks commented Feb 5, 2018

It is fixed here: h5p/h5p-text-input-field@d173ba0

I.e: it removes any HTML tags when generating the document. It will be part of the next release of doc-tool (ETA not set)

@fnoks fnoks closed this as completed Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants