#6507 (Quill asks for saving even when there was no change)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Start editing a comment, click on a pasted image without changing anything. Hit ESC.
Kinder
Kommentare
- 10 Monate, 2 Wochen ago von Luc Saffre about #6507 (Quill asks for saving even when there was no change) : Yesterday I also adapted a unit test in min9 to make it pass, but without understanding the whole issue. Feel free to adapt my adaptation.
- 10 Monate, 2 Wochen ago von Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) : I set USE_LXML to True and pushed changes in lino and book repo. Marking this ticket as ready.
- 10 Monate, 2 Wochen ago von Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) : I just found out that having the lxml parser does not causes the trailing backslash on self-closing tags. Passing html5 formatter to decode already erases the trailing backslash.
- 10 Monate, 3 Wochen ago von Sharif Mehedi Antwort auf Luc Saffre about #6507 (Quill asks for saving even when there was no change) : Yes. That did help.
- 10 Monate, 3 Wochen ago von Luc Saffre Antwort auf Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) (1 Antwort) : Maybe this one helps: stackoverflow.com/a/79268324/407239 Or the other way round: Maybe Quill has an option to write self-closing tags?
- 10 Monate, 3 Wochen ago von Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) (1 Antwort) : I think, the "/" symbol is added to the self-closing tags by the sanitize function. Wondering how to avoid it.
- 10 Monate, 3 Wochen ago von Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) : Other difference comes from self-closing tags like img, br. Clicking on an image and de-focusing it removes the backslash before the closing gt (>) symbol of the img tag.
- 10 Monate, 3 Wochen ago von Sharif Mehedi about #6507 (Quill asks for saving even when there was no change) : When clicking on an image the sorting order of the attributes of "img" tag changes. Event though there's no actual change in html representation, the string form of the content differs from the old content.
- 10 Monate, 3 Wochen ago von Luc Saffre about #6507 (Quill asks for saving even when there was no change) : Created new Ticket #6507 (Quill asks for saving even when there was no change).