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

validator.py fails to detect html errors #391

Open
mwetter opened this issue Nov 17, 2020 · 0 comments
Open

validator.py fails to detect html errors #391

mwetter opened this issue Nov 17, 2020 · 0 comments

Comments

@mwetter
Copy link
Member

mwetter commented Nov 17, 2020

Some html errors are not detected when running

../bin/runUnitTests.py --validate-html-only

For example, use the IBPSA library, commit 93ced3c8873008aac54a500951554adcf8c0c9cb, and change

$ git diff
diff --git a/IBPSA/Media/Refrigerants/R410A/specificIsochoricHeatCapacityVap_Tv.mo b/IBPSA/Media/Refrigerants/R410A/specificIsochoricHeatCapacityVap_Tv.mo
index 3c6a9a015..ac4271f66 100644
--- a/IBPSA/Media/Refrigerants/R410A/specificIsochoricHeatCapacityVap_Tv.mo
+++ b/IBPSA/Media/Refrigerants/R410A/specificIsochoricHeatCapacityVap_Tv.mo
@@ -42,7 +42,7 @@ Function that calculates the specific isochoric heat capacity
 The specific isochoric heat capacity is evaluated from the partial derivatives
 of the Martin-Hou equation of state.
 </p>
-<h4>References</h4>
+<h3>References
 <p>
 F. de Monte. (2002).
 Calculation of thermodynamic properties of R407C and

The line https://github.com/lbl-srg/BuildingsPy/blob/master/buildingspy/development/validator.py#L160 is executed but no error is triggered.

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

No branches or pull requests

1 participant