1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Chore: Fixed Crowdin translation issues

This commit is contained in:
Laurent Cozic
2025-04-16 16:57:17 +01:00
parent e847b1b902
commit 2014fbf480
7 changed files with 9 additions and 5 deletions

View File

@@ -95,7 +95,9 @@ const parseHtml = (html: string) => {
attrHtml.push(`${n}=${escapedValue}`);
}
output.push(`<${name} ${attrHtml.join(' ')}${closingSign}`);
const closingSpace = isSelfClosingTag(name) || !!attrHtml.length ? ' ' : '';
output.push(`<${name}${attrHtml.length ? ` ${attrHtml.join(' ')}` : ''}${closingSpace}${closingSign}`);
},
ontext: (decodedText: string) => {

View File

@@ -12,6 +12,6 @@ More text
End
<img src="https://example.com/img.png"/>
<img src="https://example.com/img.png" />
# Image and header

View File

@@ -1,5 +1,5 @@
One paragraph
<img src="https://joplinapp.org/images/logo-text.svg" width="40"/>
<img src="https://joplinapp.org/images/logo-text.svg" width="40" />
Two paragraph

View File

@@ -0,0 +1 @@
Press <kbd>Ctrl</kbd>+<kbd>A</kbd>

View File

@@ -0,0 +1 @@
Press <kbd>Ctrl</kbd>+<kbd>A</kbd>

View File

@@ -1 +1 @@
<img src="https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/WebExtensionScreenshot.png" style={{"maxWidth":"50%","border":"1px solid gray"}}/>
<img src="https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/WebExtensionScreenshot.png" style={{"maxWidth":"50%","border":"1px solid gray"}} />

View File

@@ -3,7 +3,7 @@
| Content Cell A1 | Content Cell A2 |
| Content Cell A2 | Content Cell B2 |
<img src="https://test"/>
<img src="https://test" />
| Header |
| ----- |