Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
2ef5b901
Commit
2ef5b901
authored
7 years ago
by
XhmikosR
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Tighten htmllint's rules. (#24471)
parent
fbd42af6
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
_includes/header.html
+2
-2
_includes/header.html
build/.htmllintrc
+27
-3
build/.htmllintrc
js/tests/index.html
+1
-1
js/tests/index.html
js/tests/visual/alert.html
+1
-1
js/tests/visual/alert.html
js/tests/visual/button.html
+1
-1
js/tests/visual/button.html
js/tests/visual/carousel.html
+1
-1
js/tests/visual/carousel.html
js/tests/visual/collapse.html
+1
-1
js/tests/visual/collapse.html
js/tests/visual/dropdown.html
+1
-1
js/tests/visual/dropdown.html
js/tests/visual/modal.html
+1
-1
js/tests/visual/modal.html
js/tests/visual/popover.html
+2
-3
js/tests/visual/popover.html
js/tests/visual/scrollspy.html
+1
-1
js/tests/visual/scrollspy.html
js/tests/visual/tab.html
+1
-1
js/tests/visual/tab.html
js/tests/visual/tooltip.html
+1
-1
js/tests/visual/tooltip.html
with
41 additions
and
18 deletions
+41
-18
_includes/header.html
+
2
-
2
View file @
2ef5b901
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<title>
<title>
{%- if page.title -%}
{%- if page.title -%}
{{ page.title }}
·
{{ site.title }}
{{ page.title }}
·
{{ site.title }}
{%- else -%}
{%- else -%}
{{ site.title }}
·
{{ site.description }}
{{ site.title }}
·
{{ site.description }}
{%- endif -%}
{%- endif -%}
</title>
</title>
...
...
This diff is collapsed.
Click to expand it.
build/.htmllintrc
+
27
-
3
View file @
2ef5b901
{
{
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling"],
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling"],
"attr-name-style": false,
"attr-name-style": false,
"attr-no-unsafe-char": false,
"attr-no-dup": true,
"attr-no-unsafe-char": true,
"attr-quote-style": "double",
"attr-req-value": true,
"attr-validate": true,
"class-no-dup": true,
"class-style": "dash",
"class-style": "dash",
"doctype-first": true,
"doctype-first": true,
"doctype-html5": true,
"doctype-html5": true,
"fig-req-figcaption": false,
"fig-req-figcaption": false,
"focusable-tabindex-style": true,
"head-req-title": true,
"head-valid-content-model": false,
"href-style": false,
"html-req-lang": true,
"html-valid-content-model": false,
"html-valid-content-model": false,
"id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)",
"id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)",
"id-class-no-ad": true,
"id-class-style": "dash",
"id-class-style": "dash",
"id-no-dup": true,
"img-req-alt": "allownull",
"img-req-src": false,
"img-req-src": false,
"img-req-alt": false,
"indent-style": "spaces",
"indent-style": "spaces",
"indent-width": 2,
"indent-width": 2,
"input-radio-req-name": false,
"input-req-label": false,
"label-req-for": true,
"lang-style": "case",
"line-end-style": "lf",
"spec-char-escape": false,
"spec-char-escape": false,
"table-req-header": false,
"tag-bans": ["b", "i"],
"tag-bans": ["b", "i"],
"title-max-len": false
"tag-close": true,
"tagname-lowercase": true,
"tag-name-match": true,
"tag-self-close": false,
"text-ignore-regex": false,
"title-max-len": 70,
"title-no-dup": true
}
}
This diff is collapsed.
Click to expand it.
js/tests/index.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/alert.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/button.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/carousel.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/collapse.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/dropdown.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/modal.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/popover.html
+
2
-
3
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
@@ -22,8 +22,7 @@
...
@@ -22,8 +22,7 @@
Popover on right
Popover on right
</button>
</button>
<button
type=
"button"
class=
"btn btn-secondary"
data-container=
"body"
data-toggle=
"popover"
data-placement=
"bottom"
data-content=
"Vivamus
<button
type=
"button"
class=
"btn btn-secondary"
data-container=
"body"
data-toggle=
"popover"
data-placement=
"bottom"
data-content=
"Vivamus sagittis lacus vel augue laoreet rutrum faucibus."
>
sagittis lacus vel augue laoreet rutrum faucibus."
>
Popover on bottom
Popover on bottom
</button>
</button>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/scrollspy.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/tab.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/tooltip.html
+
1
-
1
View file @
2ef5b901
<!doctype html>
<!doctype html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets