SurfSense/surfsense_backend
DhruvTilva 147c690051 fix: prevent spurious leading spaces in nested codeBlock interior lines
When a codeBlock is nested inside an indented structure like a
bulletListItem, the \_render_block\ function prepends the block's
indentation \prefix\ to every line.

However, for codeBlock elements, only the fence markers (the opening
and closing \\\) should carry the block indentation. Interior code
lines must not have the prefix prepended, because markdown parsers
treat leading spaces inside a code fence as part of the code content.

This fix removes the prefix from interior code lines to prevent
code snippets stored in notes from gaining spurious whitespace.
2026-06-26 00:04:41 +05:30
..
alembic feat: add position column to chunks for explicit document order 2026-06-18 08:55:47 -07:00
app fix: prevent spurious leading spaces in nested codeBlock interior lines 2026-06-26 00:04:41 +05:30
scripts refactor(provider-configuration): standardize provider parameter naming across various modules and improve quota error handling in tests 2026-06-13 14:23:32 +05:30
tests feat: add unit tests for LLM bundle streaming functionality 2026-06-18 23:32:36 +05:30
.dockerignore chore(backend): exclude tests/ from production Docker image 2026-05-06 17:16:22 +05:30
.env.example Merge commit '7ce409c580' into dev 2026-06-16 22:48:14 -07:00
.gitignore fix(gitignore): anchor data/ rule; track podcast voice catalogs 2026-06-12 00:06:37 +02:00
.python-version feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
alembic.ini add github connector, add alembic for db migrations, fix bug updating connectors 2025-04-13 13:56:22 -07:00
celery_worker.py fix: celery_app path and gmail indexing 2025-10-21 21:11:41 -07:00
Dockerfile feat(proxy): integrate Scrapling for enhanced web scraping capabilities 2026-06-09 00:15:10 -07:00
main.py feat(observability): add OpenTelemetry process bootstrap 2026-05-21 23:01:54 +05:30
pyproject.toml feat: bumped version to 0.0.29 2026-06-17 22:29:50 -07:00
uv.lock feat: bumped version to 0.0.29 2026-06-17 22:29:50 -07:00