diff --git a/README.Rmd b/README.Rmd index 4b4c57d..dfce50b 100644 --- a/README.Rmd +++ b/README.Rmd @@ -96,8 +96,19 @@ tidy_html(suppressWarnings(htmlParse("https://rud.is/test/untidy.html"))) And, show the markup errors: -```{r errors-01} +```{r errors-01, eval=FALSE} invisible(tidy_html(url("https://rud.is/test/untidy.html"), verbose=TRUE)) +## line 1 column 1 - Warning: missing declaration +## line 1 column 68 - Warning: nested emphasis +## line 1 column 138 - Warning: missing before
+## line 1 column 68 - Warning: missing before
+## line 1 column 164 - Warning: inserting implicit +## line 1 column 164 - Warning: missing +## line 1 column 159 - Warning: missing
+## line 1 column 1 - Warning: inserting missing 'title' element +## line 1 column 164 - Warning: anchor "sp" already defined +## Info: Document content looks like XHTML5 +## Tidy found 9 warnings and 0 errors! ``` ## Testing Options diff --git a/README.md b/README.md index a4e9dd1..b156a9c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.re [![Signed by](https://img.shields.io/badge/Keybase-Verified-brightgreen.svg)](https://keybase.io/hrbrmstr) ![Signed commit -%](https://img.shields.io/badge/Signed_Commits-9.26%25-lightgrey.svg) +%](https://img.shields.io/badge/Signed_Commits-100%25-lightgrey.svg) [![Linux build Status](https://travis-ci.org/hrbrmstr/htmltidy.svg?branch=master)](https://travis-ci.org/hrbrmstr/htmltidy) [![Windows build @@ -319,7 +319,7 @@ kilobytes of HTML.) Not too shabby. | C/C++ Header | 37 | 0.47 | 5796 | 0.16 | 1227 | 0.20 | 2677 | 0.36 | | C++ | 4 | 0.05 | 647 | 0.02 | 117 | 0.02 | 64 | 0.01 | | R | 10 | 0.13 | 151 | 0.00 | 38 | 0.01 | 235 | 0.03 | -| Rmd | 1 | 0.01 | 47 | 0.00 | 44 | 0.01 | 59 | 0.01 | +| Rmd | 1 | 0.01 | 47 | 0.00 | 44 | 0.01 | 70 | 0.01 | ## Code of Conduct