View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
08594Feature requestsTheme editorpublic2015-07-08 09:48
Reporterepicoder Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary08594: Ability to change doctype in a theme
Description

As it stands at the moment, the HTML doctype is generated in LS core and cannot be modified by a template. It would be very useful if it could be moved to the template rendering system, so that a survey template can use its own doctype.

Additional Information

Many popular CSS frameworks- Bootstrap (http://getbootstrap.com) for one- require the use of the HTML5 doctype (<!DOCTYPE html>) to make sure that all major browsers use standards-compliant rendering, making it difficult to develop themes that use them.

TagsNo tags attached.
Bug heat8
Story point estimate
Users affected %

Relationships

related to 08008 new Go to HTML5, add a polyfills and remove a lot of JS 

Users monitoring this issue

Mazi, stevelegare

Activities

DenisChenu

DenisChenu

2014-02-08 15:36

developer   ~28577

Why allow HTML4 deprecated when HTML5 is allways better ;)

But can be an idea ....
I think of a XML file in template to add some parameters

Mazi

Mazi

2015-07-08 09:48

updater   ~32650

I agree that the ability to add your own doctype would be a really nice solution.

As a workaround would it work to add some JS at template.js to adjust the doctype?

Issue History

Date Modified Username Field Change
2014-01-24 22:14 epicoder New Issue
2014-02-08 15:35 DenisChenu Relationship added related to 08008
2014-02-08 15:36 DenisChenu Note Added: 28577
2014-09-22 20:49 stevelegare Issue Monitored: stevelegare
2015-07-08 09:48 Mazi Issue Monitored: Mazi
2015-07-08 09:48 Mazi Note Added: 32650
2015-12-11 14:40 c_schmitz Category Templates => Theme editor