Skip to content
Snippets Groups Projects
Verified Commit 5376ac82 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: missing title annotation

parent c79eaddf
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ type Anchor struct {
Id string `yaml:"id"`
Href string `yaml:"href"`
HrefLang string `yaml:"hreflang"`
Title string
Title string `yaml:"title"`
}
type Translations struct {
......
<!DOCTYPE html>
<html lang="de">
<head>
<!DOCTYPE html><html lang="de"><head>
<style>
*:not(:defined) {
......@@ -30,16 +28,9 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml"/>
<link rel="apple-touch-icon" href="/apple-touch-icon.png"/>
<script id="translations" type="application/json" data-monster-role="translation">{
"key1": "value1 gfgf66",
"key2": "value2 gg",
"key3": {
"one": "value3 tgtgt",
"two": "value4 trzrtz"
}
}</script>
<script id="translations" type="application/json" data-monster-role="translation">{"key1":"value1 gfgf66","key2":"value2 gg","key3":{"one":"value3 tgtgt","two":"value4 trzrtz"}}</script>
<script id="mainscript" src="/script/main22.mjs" type="module"></script>
</head>
......@@ -51,37 +42,31 @@
<monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7"
id="tickyesdata-image-gi-4013311193"/>
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193"/>
<h1 class="deco">Bad xxxx</h1>
<p>The request was incorrect, the server could not process it.</p>
<p>
</p>
<div class="infobox">
<div>
<p>The request was incorrect, the server could not process it.</p><p>
</p><div class="infobox">
<div>
<ul>
<ul>
<li>Try submitting your<a id="yes-a-html" href="/a.html" title="Yes" hreflang="">request</a> again
(sometimes this helps).
</li>
<li>Contact support if you continue to have problems.</li>
<li>Try submitting your<a id="yes-a-html" href="/a.html" title="Yes" hreflang="">request</a> again (sometimes this helps).</li>
<li>Contact support if you continue to have problems.</li>
<li>If you received this message as a result of a request to the server API, then check the structure
against the documentation.
</li>
<li>If you received this message as a result of a request to the server API, then check the structure
against the documentation.</li>
</ul>
</ul>
<p>You can try the following steps:</p>
</div>
<p>You can try the following steps:</p>
</div>
</div>
</monster-state>
</body>
</html>
\ No newline at end of file
</body></html>
\ No newline at end of file
......@@ -44,6 +44,10 @@
</head>
<body>
<a href="/test.html" title="test-link">test-link</a>
<header>
<div class="gradient"></div>
</header>
......
......@@ -14,11 +14,19 @@ test1.html:
alt: tick
title: "yes"
anchors:
- id: test-link-test-html
href: /test.html
hreflang: ""
title: test-link
content: ""
- id: yes-a-html
href: /a.html
hreflang: ""
title: "Yes"
content: ""
text:
- text: test-link
id: test-link
- text: Bad xxxx
id: bad-xxxx
- text: The request was incorrect, the server could not process it.
......@@ -37,11 +45,11 @@ test1.html:
- id: translations
type: application/json
translations:
key1: value1 gfgf66
key2: value2 gg
key1: value1
key2: value2
key3:
one: value3 tgtgt
two: value4 trzrtz
one: value3
two: value4
test2.html:
export: en/test2.html
lang: en
......@@ -62,6 +70,7 @@ test2.html:
href: /a.html
hreflang: ""
title: "Yes"
content: ""
text:
- text: Bad xxxx
id: bad-xxxx
......@@ -98,6 +107,7 @@ test3.html:
href: /a.html
hreflang: ""
title: "Yes"
content: ""
text:
- text: Bad xxxx
id: bad-xxxx
......
......@@ -44,6 +44,10 @@
</head>
<body>
<a href="/test.html" title="test-link" id="test-link-test-html" data-attributes="href path:anchors.test-link-test-html.href,title path:anchors.test-link-test-html.title,hreflang path:anchors.test-link-test-html.hreflang"><span id="test-link" data-replace-self="path:text.test-link.text">test-link</span></a>
<header>
<div class="gradient"></div>
</header>
......@@ -51,7 +55,7 @@
<monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="src path:content.tickyesdata-image-gi-4013311193.src,alt path:content.tickyesdata-image-gi-4013311193.alt,title path:content.tickyesdata-image-gi-4013311193.title"/>
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="alt path:content.tickyesdata-image-gi-4013311193.alt,src path:content.tickyesdata-image-gi-4013311193.src,title path:content.tickyesdata-image-gi-4013311193.title"/>
<h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1>
<p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it.
</span></p><p>
......@@ -60,7 +64,7 @@
<ul>
<li><span id="try-submitting-your" data-replace-self="path:text.try-submitting-your.text">Try submitting your </span><a href="/a.html" title="Yes" id="yes-a-html" data-attributes="href path:anchors.yes-a-html.href,title path:anchors.yes-a-html.title,hreflang path:anchors.yes-a-html.hreflang">request</a> again (sometimes this helps).</li>
<li><span id="try-submitting-your" data-replace-self="path:text.try-submitting-your.text">Try submitting your </span><a href="/a.html" title="Yes" id="yes-a-html" data-attributes="title path:anchors.yes-a-html.title,href path:anchors.yes-a-html.href,hreflang path:anchors.yes-a-html.hreflang">request</a> again (sometimes this helps).</li>
<li><span id="contact-support-if-y-3404332025" data-replace-self="path:text.contact-support-if-y-3404332025.text">Contact support if you continue to have problems.</span></li>
<li><span id="if-you-received-this-423958995" data-replace-self="path:text.if-you-received-this-423958995.text">If you received this message as a result of a request to the server API, then check the structure
......
......@@ -39,7 +39,7 @@
<monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="alt path:content.tickyesdata-image-gi-4013311193.alt,src path:content.tickyesdata-image-gi-4013311193.src,title path:content.tickyesdata-image-gi-4013311193.title"/>
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="src path:content.tickyesdata-image-gi-4013311193.src,alt path:content.tickyesdata-image-gi-4013311193.alt,title path:content.tickyesdata-image-gi-4013311193.title"/>
<h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1>
<p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it.
</span></p><p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment