Skip to content

Fix docs code block line breaks#52

Merged
yawkat merged 1 commit into
mainfrom
fix-docs-codeblock-linebreaks
Apr 22, 2026
Merged

Fix docs code block line breaks#52
yawkat merged 1 commit into
mainfrom
fix-docs-codeblock-linebreaks

Conversation

@yawkat

@yawkat yawkat commented Apr 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the custom Pygments line separator from the docs generator
  • restore normal newline rendering for highlighted README code blocks
  • stop published documentation from showing literal <br> tags in code snippets

Verification

  • confirmed the published site symptom matches the old HtmlFormatter(lineseparator="<br>") configuration
  • updated docs/justfile to use the default formatter newline handling
  • verified the local diff is limited to the docs generation pipeline

Resolves #51

Remove the custom Pygments line separator so highlighted README code blocks render with normal newlines instead of literal <br> tags on the published documentation site.

Resolves #51

Co-Authored-By: multicode <multicode@yawk.at>
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to https://d6731ef4.lz4-java-yawk-at.pages.dev

@yawkat yawkat enabled auto-merge (squash) April 22, 2026 07:44
@yawkat yawkat disabled auto-merge April 22, 2026 08:08
@yawkat yawkat merged commit 5a5bd58 into main Apr 22, 2026
7 checks passed
@yawkat yawkat deleted the fix-docs-codeblock-linebreaks branch April 22, 2026 08:08
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Jul 8, 2026
Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.11.0 to 1.11.1.
Release notes

*Sourced from [at.yawk.lz4:lz4-java's releases](https://github.com/yawkat/lz4-java/releases).*

> lz4-java v1.11.1
> ----------------
>
> **Security release for [CVE-2026-59949](https://github.com/yawkat/lz4-java/security/advisories/GHSA-xx22-p4ch-683r).**
>
> What's Changed
> --------------
>
> * Fix docs code block line breaks by [`@​yawkat`](https://github.com/yawkat) in [yawkat/lz4-java#52](https://redirect.github.com/yawkat/lz4-java/pull/52)
>
> **Full Changelog**: <yawkat/lz4-java@v1.11.0...v1.11.1>


Commits

* [`dbd86d0`](yawkat/lz4-java@dbd86d0) Merge commit from fork
* [`5a5bd58`](yawkat/lz4-java@5a5bd58) Fix docs code block line breaks ([#52](https://redirect.github.com/yawkat/lz4-java/issues/52))
* See full diff in [compare view](yawkat/lz4-java@v1.11.0...v1.11.1)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=at.yawk.lz4:lz4-java&package-manager=maven&previous-version=1.11.0&new-version=1.11.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation code snippets have <br> instead of newlines

1 participant