summaryrefslogtreecommitdiff
path: root/HutchTests/ReadmeViewTests.swift
Commit message (Collapse)AuthorAgeFilesLines
* Update test fixtures to [email protected] emailChristian Cleberg46 hours1-3/+3
|
* test: assert image URLs are not double-escapedChristian Cleberg2026-07-151-1/+4
| | | | | | | | | | markdownImageQueryStringPreservesAmpersands rejected any "amp;metric" in the rendered HTML, but `&` is the correct encoding for `&` in an attribute value and is what a browser needs to request a literal `&`. The assertion conflated the URL with its HTML encoding. Target the real failure mode instead: double-escaping, which would send "&" through as part of the query string and break badge images.
* fix: fixes dead relative links in md/org with a new single-file viewer when ↵Christian Cleberg2026-04-151-0/+101
| | | | | | tapped Fixes: https://todo.sr.ht/~ccleberg/hutch/63
* fix(org): improve org-mode rendering supportv2.5.1Christian Cleberg2026-03-301-0/+102
|
* feat(markdown): finalize migration to apple/swift-markdown rendererv2.5.0Christian Cleberg2026-03-301-0/+10
|
* Migrate README markdown rendering to swift-markdown and fix badge imagesChristian Cleberg2026-03-301-54/+53
| | | | | | | | | | - replace the hand-rolled markdown parser with a MarkupVisitor renderer - keep the org-mode rendering path and shared sanitization helpers intact - update WKWebView styling and height measurement for README content - fix linked image and query-string badge rendering in markdown output - expand README rendering tests and add markdown syntax coverage Implements: https://todo.sr.ht/~ccleberg/Hutch/2
* partial extended support for markdown and org-modeChristian Cleberg2026-03-301-0/+211
|
* harden README web rendering and sanitize untrusted linksChristian Cleberg2026-03-181-0/+29