#45368 closed defect (bug) (worksforme)
Update fail when adding 2 dots (..) to a source code block.
Reported by: | vietanhdev | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.8 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
After adding a source code block containing 2 dots (..) like this source code, I cannot save the post anymore.
I have to replace ..
as something like 2dotsxyz
and replace it back to .. using database tool.
cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_PYTHON_EXAMPLES=ON \ -D INSTALL_C_EXAMPLES=OFF \ -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \ -D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python \ -D WITH_TBB=ON \ -D WITH_V4L=ON \ -D WITH_QT=ON \ -D BUILD_EXAMPLES=ON \ ..
Change History (6)
#1
follow-ups:
↓ 2
↓ 3
@
6 years ago
- Keywords reporter-feedback added
- Severity changed from critical to normal
#2
in reply to:
↑ 1
@
6 years ago
Replying to swissspidy:
Hi and welcome to WordPress Trac!
Which version of WordPress and Gutenberg are you using?
I tested this using WordPress 5.0 Beta 5 and was able to insert a code block with the given code just fine. So I cannot reproduce this issue.
Please try to disable all other plugins to see if this error still occurs. Also check your browser's developer console to see if there are any errors.
Hello,
I'm using Wordpress 4.9.8 with Gutternberg 4.4.0. I've tried to disable all plugins but it could not help.
I've tried to paste only the source code to the new post and it worked. But when I tried to paste the html code of all old post, It failed.
Please try with this code: https://codeshare.io/GLvNQK.
On the browser console, I saw some errors (Screenshot).
Tell me if you need other information.
Hi and welcome to WordPress Trac!
Which version of WordPress and Gutenberg are you using?
I tested this using WordPress 5.0 Beta 5 and was able to insert a code block with the given code just fine. So I cannot reproduce this issue.
Please try to disable all other plugins to see if this error still occurs. Also check your browser's developer console to see if there are any errors.