This is a controversial issue, not a bug. You have a text field, not an editor - accordingly, the table is shown not as HTML, but as content. And since the line break in the text field is saved as <br /> - here you see it in the table (not specially layout, so that the "crooked" inserted data does not break the table)
This is a controversial issue, not a bug.
You have a text field, not an editor - accordingly, the table is shown not as HTML, but as content. And since the line break in the text field is saved as <br /> - here you see it in the table (not specially layout, so that the "crooked" inserted data does not break the table)
Tyndyk Maxim Vadimovich OneBox production wrote: This is a controversial issue, not a bug. You have a text field, not an editor - accordingly, the table is shown not as HTML, but as content. And since the line break in the text field is saved as <br /> - here you see it in the table (not specially layout, so that the "crooked" inserted data does not break the table)
But what if I did not insert this br code there, and, according to the logic of an ordinary user, it should not have appeared there. After all, the system is mostly used by non-programmers. Yes, and it makes sense to show this code in the list, if it still displays everything in one line ... How can I make it possible to write several lines, but at the same time so that such codes are not displayed? Thanks in advance.
[quote]
Tyndyk Maxim Vadimovich
OneBox production wrote:
This is a controversial issue, not a bug.
You have a text field, not an editor - accordingly, the table is shown not as HTML, but as content. And since the line break in the text field is saved as <br /> - here you see it in the table (not specially layout, so that the "crooked" inserted data does not break the table)
[/quote]
But what if I did not insert this br code there, and, according to the logic of an ordinary user, it should not have appeared there. After all, the system is mostly used by non-programmers. Yes, and it makes sense to show this code in the list, if it still displays everything in one line ...
How can I make it possible to write several lines, but at the same time so that such codes are not displayed? Thanks in advance.
Kornev Mikhail wrote: But what if I did not insert this br code there, and, according to the logic of an ordinary user, it should not have appeared there. After all, the system is mostly used by non-programmers. Yes, and it makes sense to show this code in the list, if it still displays everything in one line ...
after all, you are right - non-programmers use the system - they can go in and insert a piece of HTML there, not the fact that it is valid or with JS - and the consequences will be even worse
Kornev Mikhail wrote: How can I make it possible to write several lines, but at the same time so that such codes are not displayed? Thanks in advance.
except to modify it so that by default this field displays data as HTML - but I have mentioned the possible consequences above I do not see this as a global problem now, especially only within the specified field
[quote]
Kornev Mikhail wrote:
But what if I did not insert this br code there, and, according to the logic of an ordinary user, it should not have appeared there. After all, the system is mostly used by non-programmers. Yes, and it makes sense to show this code in the list, if it still displays everything in one line ...
[/quote]
after all, you are right - non-programmers use the system - they can go in and insert a piece of HTML there, not the fact that it is valid or with JS - and the consequences will be even worse
[quote]
Kornev Mikhail wrote:
How can I make it possible to write several lines, but at the same time so that such codes are not displayed? Thanks in advance.
[/quote]
except to modify it so that by default this field displays data as HTML - but I have mentioned the possible consequences above
I do not see this as a global problem now, especially only within the specified field
it turns out if someone pastes the code, for example: <div class="date font-weight-light dt-published">yesterday 5:13 pm<br></div> <br> Mark answer as correct then the system will do this: <div class="date font-weight-light dt-published">yesterday 5:13 pm<br></div> <br /> <br> <br /> Mark answer as correct I don't understand why this was done at all. but if you think it's necessary...
it turns out if someone pastes the code, for example:
<div class="date font-weight-light dt-published">yesterday 5:13 pm<br></div>
<br>
Mark answer as correct
then the system will do this:
<div class="date font-weight-light dt-published">yesterday 5:13 pm<br></div>
<br />
<br>
<br />
Mark answer as correct
I don't understand why this was done at all.
but if you think it's necessary...
I just don't understand your reasoning. Instead of a line break, so as not to break the tables, you can display everything in one line, as it is now, but without this symbol ... it is unlikely that for very simple users this <br /> has at least some meaning.
I just don't understand your reasoning.
Instead of a line break, so as not to break the tables, you can display everything in one line, as it is now, but without this symbol ... it is unlikely that for very simple users this <br /> has at least some meaning.
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up