silverstripe-framework/templates
Nicolaas 08bf2aa91e removing potentially invalid html in email
The generic email template encapsulates the "body" content in a paragraph mark.  This is undesirable as it can lead to invalid HTML. Rather than using a paragraph, it is better to have a div encapsulating the content.

The underlying reason for this is that $Body is usually HTML and this can included block elements (div, p, etc...) that are not allowed within paragraphs (p).

It is important that the HTML is valid, because it will reduce the likelihood for it being marked as spam, because it is less likely to show up strange formatting and for use of tools like emogrifier.
2013-04-16 10:38:08 +02:00
..
email removing potentially invalid html in email 2013-04-16 10:38:08 +02:00
forms Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
Includes BUG Remove extraneous </div> breaking IE8 image embedding (os#8218) 2013-01-30 16:22:05 +13:00
AssetUploadField.ss BUGFIX:fixed styling of asset upload page and dialog in the asset admin and media insert via WYSIWYG editor open/8231. 2013-02-04 14:15:27 +13:00
BlankPage.ss MINOR HTML5 for BlankPage.ss default template 2012-04-13 15:32:05 +02:00
Controller.ss Fix typo in templates/Controller.ss 2013-01-23 23:55:34 +01:00
GridFieldDetailForm.ss API CHANGE: Renaming of gridfield components #6921 2012-03-09 12:54:02 +13:00
HtmlEditorField_UploadField.ss BUGFIX:fixed styling of asset upload page and dialog in the asset admin and media insert via WYSIWYG editor open/8231. 2013-02-04 14:15:27 +13:00
Image_iframe.ss BUG Fully qualified namespace for _t() in templates 2012-08-06 13:44:21 +02:00
RightLabelledFieldHolder.ss Moved Sapphire module to open source path 2007-07-19 10:40:28 +00:00
RSSFeed.ss MINOR Fixing use of <% control %> with <% with %> or <% loop %> as necessary. 2012-05-11 13:49:20 +12:00
SapphireInfo.ss API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
SearchForm.ss FIX: Added error message fields to default search form 2013-01-29 18:03:47 +01:00
UploadField_FileEdit.ss ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField 2012-02-03 01:00:08 +01:00
UploadField.ss Merge remote-tracking branch 'origin/3.0' into 3.1 2013-01-11 10:02:39 +01:00