View Issue Details

IDProjectCategoryView StatusLast Update
0000557OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:38
Reporterdanillo Assigned To 
PrioritylowSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version4.1.0 revision 17976 
Summary0000557: Invalide HTML
DescriptionIn _header.tpl and _header_plain.tpl, if $oxcmp_lang item is emmpty,
<html [{foreach from = $oxcmp_lang item = _language}][{if $_language->selected}]lang="[{ $_language->abbr }]"[{/if}][{/foreach}]> generates <html > instead of <html>

Additional Informationchanged
<html [{foreach from = $oxcmp_lang item = _language}][{if $_language->selected}]lang="[{ $_language->abbr }]"[{/if}][{/foreach}]>
to
<html[{foreach from = $oxcmp_lang item = _language}][{if $_language->selected}] lang="[{ $_language->abbr }]"[{/if}][{/foreach}]>
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-02-03 09:53

reporter   ~0000413

Reminder sent to: danillo

Hi,

We have checked (with "tidy") and this not shows the error about invalid HTML. Can you please write us what tool you are using for validating HTML ?

Best regards,
Dainius Bigelis

danillo

2009-02-03 11:00

reporter   ~0000414

I did not use any validator. May it's valide as well but it looks strange.

dainius.bigelis

2009-02-03 12:56

reporter   ~0000415

Last edited: 2009-02-03 12:57

Remove the space after "<html ".
Also please improve this place to use getter.