rwth-ebc / html-tidy-modelica Goto Github PK
View Code? Open in Web Editor NEWThis script converts HTML Code in Modelica to get a HTML and Dymola conform code.
This script converts HTML Code in Modelica to get a HTML and Dymola conform code.
Tidy version used from travis CI throws a warning when tables have no summary attribute. Going to be fixed.
I receive the following error
(win64py36) D:\04_Git\HTML-Tidy-Modelica>python view_html_errors.py D:/04_Git/AixLib_branches/AixLib/AixLib/Utilities/HeatTransfer/HeatConv_inside.mo
File "view_html_errors.py", line 195
htmlCorrect, errors = tidy_document(f"{htmlStr}",
^
SyntaxError: invalid syntax
Seems like html tidy doesn't change & to & which causes an error. Going to be fixed soon.
The current html_tidy.py will convert a whole package at once. This, however, will only work out as planned in simple cases. Moreover, the resulting code is not preferable in all the cases.
For example the code assumes:
Therefore, it is sometimes preferable to just have a look at a single file and get the errors and the corresponding code so that you can fix it manually.
The line numbers in the error message should be visible in the output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.