Ticket #2163 (closed New Feature: fixed)

Opened 6 months ago

Last modified 5 months ago

Enable HTML output

Reported by: alfonsoml Owned by: alfonsoml
Priority: Normal Milestone: FCKeditor 2.6.1
Component: Core : Output Data Version: FCKeditor 2.4
Keywords: Review+ Cc:

Description

XHTML is not for everyone. If someone sets a HTML 4 doctype we must assume that he really wants HTML not XHTML.

Attachments

2163.patch (0.9 kB) - added by alfonsoml 6 months ago.
Proposed SVN patch
2163_2.patch (2.1 kB) - added by alfonsoml 5 months ago.
Revised patch

Change History

Changed 6 months ago by alfonsoml

Proposed SVN patch

Changed 6 months ago by alfonsoml

  • keywords Review? added

I've set the regexp inline as /DTD HTML/ because the existing Html4DocType would match only HTML 4.0 documents in transitional mode, excluding all the 4.01 and also all the 4.0 in strict mode.

If anyone thinks it's better I can move this new regexp to FCKRegexLib.HTMLDocType for example. I just wanted to make a quick change.

Changed 5 months ago by fredck

  • keywords Review- added; Review? removed
  • milestone set to FCKeditor 2.6.1

Sounds like a smart solution for it Alfonso. People will enjoy it out there.

Moving the regex to FCKRegexLib would be good, as well as adding a changelog entry for it.

Changed 5 months ago by alfonsoml

Revised patch

Changed 5 months ago by alfonsoml

  • keywords Review? added; Review- removed

Changed 5 months ago by fredck

  • keywords Review+ added; Review? removed

Changed 5 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed

Fixed with [2022]

Note: See TracTickets for help on using tickets.