Skip to content

Conversation

@indigo423
Copy link

The repository is still named docker-hackmd instead docker-codimd.

@SISheogorath
Copy link
Contributor

I'll fix this as soon as the repository is renamed. Should become codimd-docker.

edgarogh pushed a commit to WartaPoirier-corp/codimd that referenced this pull request Sep 21, 2021
Since the interface is not always in english, we mostly removed the lang attribute from all html tags. Since the error messages in error.ejs are not translated, but always in english, there the global lang="en" should be kept.
Also in the slide and editor template the div, which contains the user generated text, has the attribute translate="no" now, to avoid unwanted translations.
Since on the publish view (pretty.ejs) only the user generated content is shown, we set the lang to the language defined in yaml (or 'en') as a default, but that was also moved to the corresponding markdown div instead of html.

Fixes hackmdio#881
See also hackmdio#437

Signed-off-by: Philip Molares <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants