llama_cpp_for_radxa_dragon_.../tools
Pascal b1846f1c8e
webui: add rehype plugin to restore HTML in Markdown table cells (#17477)
* webui: add rehype plugin to restore HTML in Markdown table cells

The remark/rehype pipeline neutralizes inline HTML as literal text
(remarkLiteralHtml) so that XML/HTML snippets in LLM responses display
as-is instead of being rendered. This causes <br> and <ul> markup in
table cells to show as plain text.

This plugin traverses the HAST post-conversion, parses whitelisted HTML
patterns (<br>, <ul><li>) from text nodes, and replaces them with actual
HAST element nodes. For lists, adjacent siblings must be combined first
as the AST fragmentation breaks pattern matching.

Strict validation rejects malformed markup, keeping it as raw text.

* chore: update webui build output
2025-11-25 08:01:02 +01:00
..
batched-bench
cvector-generator
export-lora
gguf-split
imatrix
llama-bench
main common : more accurate sampling timing (#17382) 2025-11-20 13:40:10 +02:00
mtmd mtmd-cli: Avoid logging to stdout for model loading messages in mtmd-cli (#17277) 2025-11-15 12:41:16 +01:00
perplexity
quantize
rpc
run
server webui: add rehype plugin to restore HTML in Markdown table cells (#17477) 2025-11-25 08:01:02 +01:00
tokenize
tts
CMakeLists.txt