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

Fix linebreaks removal #148

Merged
merged 7 commits into from Jun 8, 2021
Merged

Fix linebreaks removal #148

merged 7 commits into from Jun 8, 2021

Conversation

remidbs
Copy link
Contributor

@remidbs remidbs commented Jun 7, 2021

No description provided.

@remidbs remidbs linked an issue Jun 7, 2021 that may be closed by this pull request
@remidbs remidbs requested a review from lisa-durand June 7, 2021 11:01
@remidbs
Copy link
Contributor Author

remidbs commented Jun 7, 2021

Le bug était du au fait que le replaceAll était trop récent et pas dispo avec Firefox 60.
J'en ai profité pour enlever les double-espaces parce que le copier coller depuis un pdf avec firefox met des espaces et saut de ligne après chaque mot, donc si on remplace les sauts de ligne par un espace, ça fait un double espace!

Copy link
Collaborator

@lisa-durand lisa-durand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça a l'air de plutot bien fonctionner, par contre j'ai une erreur JS qui s'affiche si je tape "entrer" dans le champ "contenu"
Capture d’écran 2021-06-07 à 13 53 37

@remidbs
Copy link
Contributor Author

remidbs commented Jun 7, 2021

Hum bizarre, moi non, ni avec firefox 🤔 T'es sûre que c'est lié à la PR ? Ca ressemble à ce problème mui/material-ui#14860 lié à LastPass

@lisa-durand lisa-durand merged commit 9052323 into master Jun 8, 2021
@lisa-durand lisa-durand deleted the fix-linebreaks-removal branch June 8, 2021 08:31
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

Successfully merging this pull request may close these issues.

Bug2 Félix mail
2 participants