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

Rendered HTML is not valid #92

Open
Enough7 opened this issue Dec 20, 2024 · 0 comments
Open

Rendered HTML is not valid #92

Enough7 opened this issue Dec 20, 2024 · 0 comments

Comments

@Enough7
Copy link
Contributor

Enough7 commented Dec 20, 2024

As of my work in #91, I noticed that the HTML is not valid.
This is the result of the HTML-Validation:

    {
      filePath: 'inline',
      messages: [
        {
          ruleId: 'element-required-attributes',
          severity: 2,
          message: '<html> is missing required "lang" attribute',
          offset: 17,
          line: 2,
          column: 2,
          size: 4,
          selector: 'html',
          ruleUrl: 'https://html-validate.org/rules/element-required-attributes.html',
          context: [Object]
        },
        {
          ruleId: 'void-style',
          severity: 1,
          message: 'Expected omitted end tag <meta> instead of self-closing element <meta/>',
          offset: 151,
          line: 5,
          column: 93,
          size: 2,
          selector: 'html > head > meta:nth-child(2)',
          ruleUrl: 'https://html-validate.org/rules/void-style.html',
          context: [Object]
        },
        {
          ruleId: 'void-style',
          severity: 1,
          message: 'Expected omitted end tag <link> instead of self-closing element <link/>',
          offset: 459,
          line: 7,
          column: 270,
          size: 2,
          selector: 'html > head > link',
          ruleUrl: 'https://html-validate.org/rules/void-style.html',
          context: [Object]
        },
        {
          ruleId: 'tel-non-breaking',
          severity: 2,
          message: '" " should be replaced with "&nbsp;" (non-breaking space) in telephone number',
          offset: 11456,
          line: 823,
          column: 69,
          size: 1,
          selector: '#contact > div:nth-child(2) > a',
          ruleUrl: 'https://html-validate.org/rules/tel-non-breaking.html',
          context: [Object]
        },
        {
          ruleId: 'tel-non-breaking',
          severity: 2,
          message: '"-" should be replaced with "&#8209;" (non-breaking hyphen) in telephone number',
          offset: 11460,
          line: 823,
          column: 73,
          size: 1,
          selector: '#contact > div:nth-child(2) > a',
          ruleUrl: 'https://html-validate.org/rules/tel-non-breaking.html',
          context: [Object]
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 12453,
          line: 852,
          column: 16,
          size: 1,
          selector: '#resume > section:nth-child(2) > section > div > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 12987,
          line: 852,
          column: 550,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 15122,
          line: 915,
          column: 37,
          size: 1,
          selector: '#work-item > div > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 15372,
          line: 915,
          column: 287,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 15441,
          line: 917,
          column: 22,
          size: 1,
          selector: '#work-item > ul > li:nth-child(1) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 15548,
          line: 917,
          column: 129,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 15578,
          line: 918,
          column: 22,
          size: 1,
          selector: '#work-item > ul > li:nth-child(2) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 15623,
          line: 918,
          column: 67,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 15653,
          line: 919,
          column: 22,
          size: 1,
          selector: '#work-item > ul > li:nth-child(3) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 15740,
          line: 919,
          column: 109,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 16853,
          line: 949,
          column: 24,
          size: 1,
          selector: '#projects > section > div > ul > li:nth-child(1) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 16888,
          line: 949,
          column: 59,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 16920,
          line: 950,
          column: 24,
          size: 1,
          selector: '#projects > section > div > ul > li:nth-child(2) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 16975,
          line: 950,
          column: 79,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 17007,
          line: 951,
          column: 24,
          size: 1,
          selector: '#projects > section > div > ul > li:nth-child(3) > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 17094,
          line: 951,
          column: 111,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 18015,
          line: 982,
          column: 37,
          size: 1,
          selector: '#volunteer > section > div > div > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 18079,
          line: 982,
          column: 101,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 18148,
          line: 984,
          column: 22,
          size: 1,
          selector: '#volunteer > section > div > ul > li > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 18188,
          line: 984,
          column: 62,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 20196,
          line: 1049,
          column: 43,
          size: 1,
          selector: '#awards > section > div > div > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 20224,
          line: 1049,
          column: 71,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-implicit-close',
          severity: 2,
          message: 'Element <p> is implicitly closed by sibling',
          offset: 21072,
          line: 1078,
          column: 37,
          size: 1,
          selector: '#publications > section > div > div > p:nth-child(1)',
          ruleUrl: 'https://html-validate.org/rules/no-implicit-close.html'
        },
        {
          ruleId: 'close-order',
          severity: 2,
          message: "Stray end tag '</p>'",
          offset: 21161,
          line: 1078,
          column: 126,
          size: 2,
          selector: null,
          ruleUrl: 'https://html-validate.org/rules/close-order.html'
        },
        {
          ruleId: 'no-dup-attr',
          severity: 2,
          message: 'Attribute "class" duplicated',
          offset: 21870,
          line: 1103,
          column: 37,
          size: 5,
          selector: '#resume > section:nth-child(11) > header > h2',
          ruleUrl: 'https://html-validate.org/rules/no-dup-attr.html'
        }
      ],
      errorCount: 28,
      warningCount: 2,
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