This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
1
[PATCH] Fix ~jonsterling/forester#57
---
tree.xsl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tree.xsl b/tree.xsl
index be3e2bb..f706ff0 100644
--- a/tree.xsl
+++ b/tree.xsl
@@ -288,9 +288,9 @@
<xsl:attribute name="class">block</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="f:frontmatter/taxon">
+ <xsl:if test="f:frontmatter/f:taxon">
<xsl:attribute name="data-taxon">
- <xsl:value-of select="f:frontmatter/taxon" />
+ <xsl:value-of select="f:frontmatter/f:taxon" />
</xsl:attribute>
</xsl:if>
--
2.39.3 (Apple Git-146)
On 22 May 2024, at 6:13, utensil wrote:
> ---
> tree.xsl | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks very much for your patch! I’ve now applied it.
Best,
Jon
>
> diff --git a/tree.xsl b/tree.xsl
> index be3e2bb..f706ff0 100644
> --- a/tree.xsl
> +++ b/tree.xsl
> @@ -288,9 +288,9 @@
> <xsl:attribute name="class">block</xsl:attribute>
> </xsl:otherwise>
> </xsl:choose>
> - <xsl:if test="f:frontmatter/taxon">
> + <xsl:if test="f:frontmatter/f:taxon">
> <xsl:attribute name="data-taxon">
> - <xsl:value-of select="f:frontmatter/taxon" />
> + <xsl:value-of select="f:frontmatter/f:taxon" />
> </xsl:attribute>
> </xsl:if>
>
> --
> 2.39.3 (Apple Git-146)