René's URL Explorer Experiment


Title: [Bug Report]: diff tool error while processing space between general and multibytes characters · Issue #3170 · BookStackApp/BookStack · GitHub

Open Graph Title: [Bug Report]: diff tool error while processing space between general and multibytes characters · Issue #3170 · BookStackApp/BookStack

X Title: [Bug Report]: diff tool error while processing space between general and multibytes characters · Issue #3170 · BookStackApp/BookStack

Description: Describe the Bug Diff tool can not work correctly if add/delete space in general character and multibytes characters. Steps to Reproduce Create a page copy and paste this string: test測試 Save page. (revision 1) Edit page Add a space betwe...

Open Graph Description: Describe the Bug Diff tool can not work correctly if add/delete space in general character and multibytes characters. Steps to Reproduce Create a page copy and paste this string: test測試 Save page. ...

X Description: Describe the Bug Diff tool can not work correctly if add/delete space in general character and multibytes characters. Steps to Reproduce Create a page copy and paste this string: test測試 Save page. ...

Opengraph URL: https://github.com/BookStackApp/BookStack/issues/3170

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug Report]: diff tool error while processing space between general and multibytes characters","articleBody":"### Describe the Bug\n\nDiff tool can not work correctly if add/delete space in general character and multibytes characters.\r\n\r\n![2022-01-17_160517](https://user-images.githubusercontent.com/114491/149732817-9bfffd15-774f-4828-b7fe-2f0f50976259.png)\r\n\r\n\n\n### Steps to Reproduce\n\n1. Create a page\r\n2. copy and paste this string: `test測試`\r\n3. Save page. (revision 1)\r\n4. Edit page\r\n5. Add a space between the words. New string will be: `test 測試`\r\n6. Save page. (revision 2)\r\n7. Click `Revision` of page details.\r\n8. Click `Changes` on the latest revision.\r\n9. Diff tool show some un-expect digits: ![2022-01-17_162254](https://user-images.githubusercontent.com/114491/149733566-6b13a913-e76f-421e-90a0-aac41eff3d95.png)\r\n \n\n### Expected Behaviour\n\nDiff tool should show spaces only.\n\n### Screenshots or Additional Context\n\nError WILL occur if and if the add / delete space between general character and multibyte character.\r\n\r\n----\r\n\r\nThe error will NOT occur on this conditions:\r\n\r\n- New space between general characters. Example: `unittest` to `unit test`.\r\n- New space between multibyte characters. Example: `你好` to `你 好`.\r\n\r\n\n\n### Exact BookStack Version\n\n21.12\n\n### PHP Version\n\n7.4.27\n\n### Hosting Environment\n\n- Ubuntu 20.04.3 LTS\r\n- Nginx 1.18.0 (reverse proxy)\r\n- PHP-fpm 7.4.27","author":{"url":"https://github.com/johnroyer","@type":"Person","name":"johnroyer"},"datePublished":"2022-01-17T08:49:28Z","url":"https://github.com/BookStackApp/BookStack/issues/3170"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5294e4ca-97c0-0ba0-6a42-f93ac003fb3a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id988C:1D3EA:4182F:58550:6AFD8F58
html-safe-nonce3b8b36f07dde448c1e052d4f66abcd6571cb5c13227f557c5db27167920078ad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODhDOjFEM0VBOjQxODJGOjU4NTUwOjZBRkQ4RjU4IiwidmlzaXRvcl9pZCI6IjE1MTQ3NTQ5OTkwOTgxMTc5NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0b15be76b8e278517c58a88b8a483de43cdcc224751c53a3db2532e26ce25bfc
hovercard-subject-tagissue:1105544092
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/BookStack/3170/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c846797abe62ece0ea79a3154593a91d7d942c5ff194c9a23116c8e9a322f3f1/BookStackApp/BookStack/issues/3170
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c846797abe62ece0ea79a3154593a91d7d942c5ff194c9a23116c8e9a322f3f1/BookStackApp/BookStack/issues/3170
og:image:altDescribe the Bug Diff tool can not work correctly if add/delete space in general character and multibytes characters. Steps to Reproduce Create a page copy and paste this string: test測試 Save page. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnroyer
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
go-importgithub.com/BookStackApp/BookStack git https://github.com/BookStackApp/BookStack.git
octolytics-dimension-user_id20912696
octolytics-dimension-user_loginBookStackApp
octolytics-dimension-repository_id41589337
octolytics-dimension-repository_nwoBookStackApp/BookStack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id41589337
octolytics-dimension-repository_network_root_nwoBookStackApp/BookStack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/BookStackApp/BookStack/issues/3170#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBookStackApp%2FBookStack%2Fissues%2F3170
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBookStackApp%2FBookStack%2Fissues%2F3170
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=BookStackApp%2FBookStack
Reloadhttps://github.com/BookStackApp/BookStack/issues/3170
Reloadhttps://github.com/BookStackApp/BookStack/issues/3170
Reloadhttps://github.com/BookStackApp/BookStack/issues/3170
BookStackApphttps://github.com/BookStackApp
BookStackhttps://github.com/BookStackApp/BookStack
Codehttps://github.com/BookStackApp/BookStack
Issueshttps://github.com/BookStackApp/BookStack/issues
Pull requests3 (3)https://github.com/BookStackApp/BookStack/pulls
Security and quality8 (8)https://github.com/BookStackApp/BookStack/security
Insightshttps://github.com/BookStackApp/BookStack/insights
https://github.com/BookStackApp/BookStack
New issuehttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/3170
New issuehttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/3170
[Bug Report]: diff tool error while processing space between general and multibytes charactershttps://github.com/BookStackApp/BookStack/issues/3170#top
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
v21.12.3https://github.com/BookStackApp/BookStack/milestone/90
https://github.com/johnroyer
johnroyerhttps://github.com/johnroyer
on Jan 17, 2022https://github.com/BookStackApp/BookStack/issues/3170#issue-1105544092
https://user-images.githubusercontent.com/114491/149732817-9bfffd15-774f-4828-b7fe-2f0f50976259.png
https://user-images.githubusercontent.com/114491/149733566-6b13a913-e76f-421e-90a0-aac41eff3d95.png
johnroyerhttps://github.com/johnroyer
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
on Jan 17, 2022https://github.com/BookStackApp/BookStack/issues/3170#event-5902715472
ssddanbrownhttps://github.com/ssddanbrown
on Jan 24, 2022https://github.com/BookStackApp/BookStack/issues/3170#event-5944887638
Updated initial parsing to add multi-btye support back inhttps://github.com/ssddanbrown/HtmlDiff/commit/3c5df7f1fb8530547be8a0222e0cdfcd1ddd8705
3c5df7fhttps://github.com/ssddanbrown/HtmlDiff/commit/3c5df7f1fb8530547be8a0222e0cdfcd1ddd8705
Updated HTMLDiff package to address multibtye issuehttps://github.com/BookStackApp/BookStack/commit/f88e6d15201a8cf5290a188cf9138c3537d7fc32
f88e6d1https://github.com/BookStackApp/BookStack/commit/f88e6d15201a8cf5290a188cf9138c3537d7fc32
ssddanbrownhttps://github.com/ssddanbrown
v21.12.3https://github.com/BookStackApp/BookStack/milestone/90
on Jan 24, 2022https://github.com/BookStackApp/BookStack/issues/3170#event-5945307559
https://github.com/ssddanbrown
ssddanbrownhttps://github.com/ssddanbrown
on Jan 24, 2022https://github.com/BookStackApp/BookStack/issues/3170#issuecomment-1020522473
@johnroyerhttps://github.com/johnroyer
separate projecthttps://github.com/ssddanbrown/HtmlDiff
ssddanbrown/HtmlDiff@4894499...v1.0.2https://github.com/ssddanbrown/HtmlDiff/compare/4894499ba6b58985ac11c185b3ec73bafa97c7ce...v1.0.2
updated the versionhttps://github.com/BookStackApp/BookStack/issues/f88e6d15201a8cf5290a188cf9138c3537d7fc32
ssddanbrownhttps://github.com/ssddanbrown
completedhttps://github.com/BookStackApp/BookStack/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 24, 2022https://github.com/BookStackApp/BookStack/issues/3170#event-5945329123
https://github.com/johnroyer
johnroyerhttps://github.com/johnroyer
on Feb 2, 2022https://github.com/BookStackApp/BookStack/issues/3170#issuecomment-1027534719
Sign up for freehttps://github.com/signup?return_to=https://github.com/BookStackApp/BookStack/issues/3170
Sign in to commenthttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/3170
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
v21.12.3https://github.com/BookStackApp/BookStack/milestone/90
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.