You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #560: Fix currenly malformed HTML and modify test to detect future problems
3facedc Tests: check for badly-formed HTML (David A. Harding)
6034333 Fix CDATA errors reported by htmlproofer (David A. Harding)
95be83f Fix malformed HTML reported by HTML Proofer (David A. Harding)
0c9026f Site build: move build/test commands from travis to make (David A. Harding)
Pull request description:
Preview: http://dg2.dtrt.org/
HTML diff of site contents: http://dg2.dtrt.org/diff.html
The command we use to automatically check our HTML via Travis, called "HTML Proofer", apparently doesn't check HTML by default---it only checks that links are valid by default---so it requires us to pass an additional CLI parameter, `--check-html`. 🤦♂️
This adds the extra parameter, fixes the HTML problems it discovered, makes the test easier to run locally, and reorders this PR's commits from development-order to will-build-without-failure order.
Note: the CDATA commit changes a bunch of Chinese text that failed the HTML test with the error given in the commit message. In my text editor (vim), it looked like ^H, the 0x08 ASCII backspace character. Removing that character fixed the problem and didn't cause any visible difference in the displayed content (see example below), so I'm hoping this is satisfactory. However, if there's anyone reading this who can certify that solution, please leave a comment.
---
Example of changed Simplified Chinese text. The following screenshot is from the live site; the ^H is between the 'k' in Slack and the subsequent visible Chinese glyph:

Here's from my preview with the ^H removed:

Here's that particular page on the preview in case anyone with a localized browser wants to check. The affected text is 3 paragraphs up from the end: http://dg2.dtrt.org/zh_CN/2016/02/23/release-0.12.0/
Tree-SHA512: db2c5b3e427329e02f344f45b3fbfbbfab2797b24bebfd59d5631bdaf6ba42c9fecd768184e68825fc4e3ca06aa43573c57a3c14eeed9c6bb20294f1315ca465
在2012年,Gennaro,Gentry,Parno和Raykova发表了一篇文章“Quadratic Span Programs and Succinct NIZKs without PCPs”(https://eprint.iacr.org/2012/215)"),其中描述了一种特别有效的方法。从那时起,几个组继续推进了这项工作,创造编译器,性能提升,以及最关键的,各种实用的工具,比如libsnark。该GGPR'12加密系统需要受信任的设置,但是对于ZKCP来说没有实际的限制,因为买家可以执行它。由于这些工作,ZKCP现在可以成为一个可用的工具。
51
+
在2012年,Gennaro,Gentry,Parno和Raykova发表了一篇文章“Quadratic Span Programs and Succinct NIZKs without PCPs”(https://eprint.iacr.org/2012/215)"),其中描述了一种特别有效的方法。从那时起,几个组继续推进了这项工作,创造编译器,性能提升,以及最关键的,各种实用的工具,比如libsnark。该GGPR'12加密系统需要受信任的设置,但是对于ZKCP来说没有实际的限制,因为买家可以执行它。由于这些工作,ZKCP现在可以成为一个可用的工具。
0 commit comments