Skip to content

Commit

Permalink
fix(#343): Apply css override rules for 'hi' elements
Browse files Browse the repository at this point in the history
* override ignored output renditions and falsely set 'tei-hi1' classes
which contain font-weight strong rule
  • Loading branch information
plutonik-a committed Oct 31, 2019
1 parent 7ab94b8 commit 8b9e2c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions expath-pkg.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="http://history.state.gov/ns/site/hsg"
abbrev="hsg-shell" version="2.0.1" spec="1.0">
<package xmlns="http://expath.org/ns/pkg" name="http://history.state.gov/ns/site/hsg" abbrev="hsg-shell" version="2.0.2" spec="1.0">
<title>history.state.gov 3.0 shell</title>
<dependency package="http://exist-db.org/apps/shared"/>
<dependency package="http://www.tei-c.org/tei-simple"/>
Expand Down
8 changes: 4 additions & 4 deletions resources/odd/compiled/frus.odd
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,16 @@ display: block;
<model predicate="@rend = 'strong'" behaviour="inline">
<outputRendition>font-weight: bold;</outputRendition>
</model>
<model predicate="@rend = 'italic'" behaviour="inline">
<model predicate="@rend = 'italic'" behaviour="inline" cssClass="font-italic">
<outputRendition>font-style: italic;</outputRendition>
</model>
<model predicate="@rend = 'smallcaps'" behaviour="inline">
<model predicate="@rend = 'smallcaps'" behaviour="inline" cssClass="font-smallcaps">
<outputRendition>font-variant: small-caps;</outputRendition>
</model>
<model predicate="@rendition" behaviour="inline" useSourceRendition="true">
<model predicate="@rendition" behaviour="inline" useSourceRendition="true" cssClass="font-italic">
<outputRendition>font-style: italic;</outputRendition>
</model>
<model predicate="not(@rendition)" behaviour="inline">
<model predicate="not(@rendition)" behaviour="inline" cssClass="font-italic">
<outputRendition>font-style: italic;</outputRendition>
</model>
</elementSpec><elementSpec mode="change" ident="imprimatur">
Expand Down

0 comments on commit 8b9e2c7

Please sign in to comment.