Skip to content

Commit

Permalink
missing space after usg in subentry content
Browse files Browse the repository at this point in the history
  • Loading branch information
makigumo committed Jun 20, 2024
1 parent 39795c4 commit 0e26bed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 10 additions & 2 deletions Wadoku.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,10 @@ span.etym {
display: block;
}

.sense .reg, .sense .usage, .subheadword .reg, .subheadword .usage {
.sense .reg,
.sense .usage,
.subheadword .reg,
.subheadword .usage {
display: inline-block;
}

Expand All @@ -459,7 +462,12 @@ span.etym {
font-style: italic
}

.reg + .token:before, .usage + .token:before, .famn + .token:before {
/* letztes dom, reg, usage */
.dom:has(+ *:not(.dom)):after,
.reg:has(+ *:not(.reg)):after,
.usage:has(+ *:not(.usage)):after,

.famn + .token:before {
content: '\0020'
}

Expand Down
5 changes: 4 additions & 1 deletion xsl/entry_export_macdic.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,10 @@
<xsl:template mode="compact" match="wd:sense[empty(./wd:sense) and @related]"/>

<xsl:template name="sense_content">
<xsl:apply-templates select="wd:usg"/>
<xsl:if test="wd:usg">
<xsl:apply-templates select="wd:usg" />
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates select="wd:trans"/>
<xsl:if test="not(empty(wd:def) and empty(wd:expl) and empty(wd:date))">
<xsl:text> </xsl:text>
Expand Down

0 comments on commit 0e26bed

Please sign in to comment.