Open eoli3n opened 1 year ago
Thanks for reporting, some following up questions to help understand the scenario:
Original thought this was due to unicode handling by diff lib but could not replicate in single environment. Thinking possible change in encoding.
WYSIWIYG editor on both, yes. No copy paste at all.
I am experiencing this same issue. I hadn't noticed it before v24.05.3, and I use page revisions extensively with content that is heavy on accents (Spanish). But according to the original bug report date, it would seem unlikely to have been introduced on this version (could it be a regression?).
I use the WYSIWYG editor, and it happens with content both copied from other sources, and with text created directly in BookStack.
Chrome Versión 127.0.6533.89 (Build oficial) (64 bits) Windows 10 Pro 22H2 (OS Compilation 19045.4717)
Found a way to reproduce this, since we are seeing this issue quite often, too (german umlauts).
Some umlauts on this page: äöü
with user1, save the pageNew Draft paragraph
, save as draftNew paragraph by different user
, save the pageScreenshot from the demo instance:
Interestingly, on the screenshot above the content of the draft by user1 from step 2 was also marked as deleted, even though it was never supposed to be published at all. Both users see the same changes.
Also, after deleting the existing draft as user1 and viewing the changes of the current revision again, the umlauts are not highlighted anymore and the content of the draft is not displayed anymore:
It seems like drafts are incorrectly referenced as the previous version when rendering changes between revisions. Are umlauts and accent chars saved differently in drafts?
Firefox 132.0 (64-Bit) Windows 10 22H2
Describe the Bug
If I modify a page with Linux, then a coworker modify with Windows, all accent chars seems to be replaced.
Steps to Reproduce
Expected Behaviour
Nothing should change in the page.
Screenshots or Additional Context
Browser Details
Latest Void Linux - Firefox 109.0.1 Windows 10 Professional 21H1 - Opera version 94
Exact BookStack Version
v23.01.1
PHP Version
7.4
Hosting Environment
Debian 11 up to date