Project

Profile

Help

Bug #6310

closed

Interactive Saxon doc: Coming from search, code samples render with spaces missing

Added by A Galtman 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Low
Category:
Documentation
Sprint/Milestone:
-
Start date:
2024-01-02
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:

Description

In Saxon documentation, code blocks are not being rendered as expected when I reach the page from a list of search results.

I'm attaching two screen captures (from Firefox 121.0 on Windows, though I see the same issue in Edge 120.0.2210.91 on Windows, too).

Reproduction steps:

  1. Start from https://www.saxonica.com/documentation12/index.html
  2. Enter saxon:as in the search field and click the magnifying glass
  3. Scroll through the search results and click the result for "saxon:as"
  4. Notice that the page has three code blocks that have horizontal scroll bars and are missing spaces in key places, such as between one attribute value and an adjacent attribute name.
  5. Copy the URL from the browser's address bar ( https://www.saxonica.com/documentation12/index.html#!extensions/attributes/as ) and paste it into a new browser tab. The rendering looks as expected. Another way to make the rendering look as expected is to reload the page in the original tab (which makes the set of search results go away).

These steps use a particular documentation page, but I see the same effect on other pages with code blocks.


Files

unexpected-rendering-from-search-firefox.png (175 KB) unexpected-rendering-from-search-firefox.png Code blocks in right pane exhibit the issue A Galtman, 2024-01-02 15:04
expected-rendering-in-new-tab-firefox.png (156 KB) expected-rendering-in-new-tab-firefox.png Code blocks look normal A Galtman, 2024-01-02 15:04

Please register to edit this issue

Also available in: Atom PDF