Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

<html> in railsport doesn't include the dir="" attribute #1930

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

<html> in railsport doesn't include the dir="" attribute #1930

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 5.30pm, Sunday, 7th June 2009]

This:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Should be this:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

And for rtl languages it should be rtl. Probably best to include LTR/RTL at the top of the language file.

@openstreetmap-trac
Copy link
Author

Author: smsm1
[Added to the original trac issue at 6.44pm, Sunday, 7th June 2009]

(In [15753]) include the correct language and direction in the html element. fixes #1930. fixes #1929

@openstreetmap-trac
Copy link
Author

Author: StefanB
[Added to the original trac issue at 5.39am, Friday, 3rd July 2009]

for some reason the <% t'html.dir' %> renders empty in any language

@openstreetmap-trac
Copy link
Author

Author: stefanb
[Added to the original trac issue at 5.49am, Friday, 3rd July 2009]

(In [16287]) added missing =, fixes #1930

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant