모바일 환경에서도 에디터를 사용할 수 있는 기반 PR#1495
Closed
misol wants to merge 4 commits into
Closed
Conversation
현재는 모바일에서 작성시 nl2br 처리를 피해갈 수 없습니다. 변수(use_editor)를 추가하여 HTML 작성을 가능하게 합니다.
Contributor
Author
Contributor
Author
|
html 소스를 content 항목으로 전달할 때, \r\n 또는 \n 과 같은 개행문자를 모두 제거하면 사실 이 PR을 적용하지 않아도 무리는 없습니다. 하지만, HTML을 개행문자를 포함해서 작성하는 순간 개행문자는 nl2br에 걸리는 상태기 때문에 이 PR이 필요합니다. 이 PR을 아파치, PHP/5.5.15 기반, 그리고 nginx, PHP/5.5.9 기반에서 테스트 했을 때 서버 스크립트 문제가 발생하지 않았습니다 |
Closed
|
@bnu 모바일 에디터 사용에 치명적인 부분인데 반영이 안될 이유가 있을까요? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
현재는 모바일에서 작성시 nl2br 처리를 피해갈 수 없습니다. 변수(use_editor)를 추가하여 HTML 작성을 가능하게 합니다.
use_editor 값을 Y로 전송할 경우, PC 환경에서 에디터를 사용한 것과 동일하게 해석합니다.