Skip to content

Conversation

@asmsuechan
Copy link
Contributor

Finally, I fixed this problem which is reported by #333 and #294.

Before, this code didn't work well in CodeBlock: <port protcol="tcp" port="10022"/>

screen shot 2017-03-19 at 14 13 50

before

screen shot 2017-03-19 at 14 15 29

after

screen shot 2017-03-19 at 14 13 54

@asmsuechan
Copy link
Contributor Author

asmsuechan commented Mar 19, 2017

And also I handled <?php issue reported by #275 and #205 by the second commit.

screen shot 2017-03-19 at 14 19 09

screen shot 2017-03-19 at 14 19 05

(Forgive me 😝, I made a mistake to declare the variable a in the PHP code because I'm not familiar with PHP)

@asmsuechan asmsuechan changed the title Fix incorrect tag completion in code block [WIP] Fix incorrect tag completion in code block Mar 19, 2017
@asmsuechan asmsuechan changed the title [WIP] Fix incorrect tag completion in code block Fix incorrect tag completion in code block Mar 19, 2017
@asmsuechan
Copy link
Contributor Author

Until the second commit, KaTeX didn't work well. But now after third commit, it works well.

screen shot 2017-03-19 at 15 26 09

screen shot 2017-03-19 at 15 26 05

['#63', '?']
]

for (var i = 0, max = entities.length; i < max; ++i) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This for loop must be refactored.

Copy link
Contributor

@sota1235 sota1235 left a comment

Choose a reason for hiding this comment

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

It is not working for single quote...


Let's consider about this problem together.

@asmsuechan
Copy link
Contributor Author

I fixed that bug, cut into a helper, and also added tests.

screen shot 2017-04-22 at 16 21 16

const decodedText = htmlTextHelper.decodeEntities(encodedText)
t.is(decodedText, testCase, 'Integration test through encodedText() and decodedText()')
})
})
Copy link
Contributor

Choose a reason for hiding this comment

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

You are good JavaScript Engineer 👍

Copy link
Contributor

@sota1235 sota1235 left a comment

Choose a reason for hiding this comment

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

LGTM

@sota1235 sota1235 merged commit b7ba29a into BoostIO:master Apr 29, 2017
@kazup01
Copy link
Member

kazup01 commented Apr 29, 2017

o~

@kazup01
Copy link
Member

kazup01 commented Apr 29, 2017

fantastic👍

@kohei-takata kohei-takata mentioned this pull request Jun 12, 2017
@asmsuechan asmsuechan deleted the fix-incorrect-tag-completion branch July 21, 2017 04:40
@PascalAOMS
Copy link

PascalAOMS commented Jan 15, 2019

I'm running 0.11.12 and get this issue again.

Is there an option checkbox I need to tick or has the fix been broken with later updates?

EDIT: Noticed it only happen when enabling dangerous HTML tags.

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.

5 participants