Skip to content

Commit

Permalink
FIX: Display slashes around UR on Component Page (#107)
Browse files Browse the repository at this point in the history
closes #107
  • Loading branch information
dwhieb committed Jun 12, 2024
1 parent a4e3555 commit c4e97ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/Orthographies.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default class Orthographies extends Map {

const rules = this.get(ortho)

// Adjust which of these returns is commented out depending on whether you want errors in the output.
if (!rules) {
// return `ERROR: Orthography ${ ortho } not recognized.` // Use this for finding missing orthographies.
return ``
Expand Down
6 changes: 3 additions & 3 deletions pages/Component/Component.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<dd>{{#if form }}{{ form }}{{else}}{{/if}}</dd>

<dt>UR</dt>
<dd>{{#if UR }}{{ UR }}{{else}}{{/if}}</dd>
<dd>{{#if UR }}/{{ UR }}/{{else}}{{/if}}</dd>

<dt>Proto-Algonquian</dt>
<dd>{{#if PA }}{{ PA }}{{else}}{{/if}}</dd>
Expand Down Expand Up @@ -231,9 +231,9 @@
{{#each tokens as |token| }}
<tr>
<td>{{ form }}</td>
<td>{{ UR }}</td>
<td>/{{ UR }}/</td>
<td>{{ PA }}</td>
<td>{{ gloss }}</td>
<td>{{ gloss }}</td>
<td>{{ bibliography }}</td>
<td>{{ speaker }}</td>
<td>{{ notes }}</td>
Expand Down

0 comments on commit c4e97ea

Please sign in to comment.