Project

General

Profile

Actions

Task #67120

closed

RTE: Save <br> instead of <br /> in database

Added by Heinz Schilling almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2015-05-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Since HTML5 is around maybe it's better to save <br> in database.

Actions #1

Updated by Markus Klein almost 9 years ago

  • Status changed from New to Needs Feedback

Why is <br> better??

<br /> is fully valid HTML5 and even more it is valid XHTML.

Actions #2

Updated by Heinz Schilling almost 9 years ago

You are right. <br /> is better backward compatible. I don't thought about it. Maybe it's possible to check config.doctype?

With config.doctype = html5 it's just nicer to habe <br> (and <hr> and so on) in database.

Actions #3

Updated by Alexander Opitz over 8 years ago

I don't think this makes really sense. If you change your doctype afterwards, you also wouldn't change all your data.

So, I would like to close this issue as rejected. Ok?

Actions #4

Updated by Heinz Schilling over 8 years ago

It's OK.

Actions #5

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from Needs Feedback to Closed

closed with the consent of the reporter.

Actions

Also available in: Atom PDF