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

HTML entity incorrectly displayed #14266

Closed
ondrejvrabel opened this Issue May 8, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@ondrejvrabel
Copy link

ondrejvrabel commented May 8, 2018

Steps to reproduce

  1. Create table with columns, where one column has longer comment - the example comment: can be image or letter - used by "template" file
  2. Open the table
  3. Next to the column, can be image or letter - used by "template&qu… is displayed - &qu is the problem

Expected behaviour

Next to the column, can be image or letter - used by "template"... should be displayed.

Actual behaviour

HTML entity in column comment is trimmed in half.
Next to the column, can be image or letter - used by "template&qu… is displayed - &qu is the problem

Suggested fix

Change order:

  1. Shorten the string
  2. Encode entities

Server configuration

Operating system:
Ubuntu 16.04
Web server:
Apache
Database:
MySQL 5.7.22-0ubuntu0.16.04.1-log
PHP version:
7.1.17-1+ubuntu16.04.1+deb.sury.org+1
phpMyAdmin version:
4.7.5

Client configuration

Browser:
Google Chrome 66.0.3359.139
Operating system:
Windows 10 Pro

@ibennetch ibennetch added this to the 4.8.1 milestone May 10, 2018

@mauriciofauth mauriciofauth added the bug label May 10, 2018

@mauriciofauth mauriciofauth self-assigned this May 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.