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

Don't replace cr by a white space when the last char on the line is an ideographic char #15395

Merged
merged 1 commit into from Sep 4, 2022

Conversation

calixteman
Copy link
Contributor

No description provided.

Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

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

r=me, looks simple enough!

@@ -538,3 +538,5 @@
!bug1782186.pdf
!tracemonkey_a11y.pdf
!bug1782564.pdf
!issue15340.pdf

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: One new-line too many at the here.

@@ -248,6 +248,15 @@ function normalize(text) {
}

if (p4) {
// An ideographic at the end of a line doesn't imply toadd an extra
Copy link
Collaborator

Choose a reason for hiding this comment

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

Spelling/grammar nit:

Suggested change
// An ideographic at the end of a line doesn't imply toadd an extra
// An ideographic at the end of a line doesn't imply adding an extra

@calixteman
Copy link
Contributor Author

/botio unittest

@pdfjsbot
Copy link

pdfjsbot commented Sep 4, 2022

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @calixteman received. Current queue size: 0

Live output at: http://54.241.84.105:8877/82fa2ed9ec3ac3d/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 4, 2022

From: Bot.io (Windows)


Received

Command cmd_unittest from @calixteman received. Current queue size: 0

Live output at: http://54.193.163.58:8877/1b2060460dd95b3/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 4, 2022

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/82fa2ed9ec3ac3d/output.txt

Total script time: 3.22 mins

  • Unit Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Sep 4, 2022

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/1b2060460dd95b3/output.txt

Total script time: 6.57 mins

  • Unit Tests: Passed

@calixteman calixteman merged commit 72375ed into mozilla:master Sep 4, 2022
@calixteman calixteman deleted the 15340 branch September 4, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Japanese character can't search when there is a new line
3 participants