-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
FIX : HTML in ODT templates #26181
FIX : HTML in ODT templates #26181
Conversation
It seems a different fix were done in v18. |
I copied what was done in V18, this does not seem to pose a compatibility problem I also modified the regexp a little (it did not target all of the tags) |
htdocs/includes/odtphp/odf.php
Outdated
pclose($handlein); | ||
fclose($handle); | ||
} | ||
dolChmod($outputfile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atm-adrien
With v17, this line of code will hang. Keep v17 code as this has no relation with the bugfix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
FIX : HTML in ODT templates
There is currently no interpretation of HTML in ODT type document templates.
Here is what we have in entry :
<p><strong><u>DESCRIPTION DES PRODUITS</u></strong><br /> Ceci est un produit & un service<br /> Contrôle des stock de ce produit <br /> Vérification des dispositifs d'installation pour ce produit <br /> Vidange des filtres à carburant supplémentaire pour ce produit <br /> N° de ce produit</p>
We have the same thing written in our ODT document