Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enc: make it html5-compliant #921

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

johnd0e
Copy link
Contributor

@johnd0e johnd0e commented Feb 25, 2025

This pull request includes several updates to the HTML files in the enc/enc_rus/meta/articles directory. These changes modernize the HTML structure and improve accessibility. The most important changes include updating the DOCTYPE declaration, adding language attributes, and replacing deprecated attributes and tags.

HTML structure updates:

  • Updated the DOCTYPE declaration from HTML 4.0 Transitional to HTML5 in all files. [1] [2] [3] [4] [5] [6]
  • Added the lang="ru" attribute to the <html> tags to specify the language as Russian. [1] [2] [3] [4] [5] [6]
  • Replaced the <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> tag with <meta charset="utf-8"> for better compatibility and simplicity. [1] [2] [3] [4] [5] [6]
  • Added the <meta name="viewport" content="width=device-width, initial-scale=1.0"> tag to improve mobile responsiveness. [1] [2] [3] [4] [5] [6]

Attribute and tag updates:

  • Replaced deprecated language="JavaScript" attribute in <script> tags with a simpler <script> tag. [1] [2] [3] [4] [5] [6]
  • Enclosed class attribute values in double quotes for consistency and to follow modern HTML standards. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

@johnd0e
Copy link
Contributor Author

johnd0e commented Feb 25, 2025

@alabuzhev

make sure that all this luxury works in CHM. I have some doubts that its ancient IE engine can cope with html5 etc

FarEncyclopedia.ru.chm.zip

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.

1 participant