Skip to content

the weirdness of <i> #521

Description

@bansp

Came up in the context of #505 . The example page is https://standards.clarin.eu/sis/views/list-curators.xq

There is a fragment that in the HTML is just:

<p>The list below only shows the 22<i> curated</i> centres. To get a broader view, please

So a misplaced whitespace, one would say, but not really. The source is:

<p>The list below only shows the {count($rows)} <i> curated</i> centres.

... and it can't be modified without losing the whitespace before "curated". It feels as if <i> collapsed the preceding whitespace. It does not help when I wrap the variable fragment in a <span>.

@margaretha -- any idea? Do we do something special on the way from XQuery/XML to HTML? We're just letting <i>s through, right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions