zulip/zerver/lib/markdown
Adrián Oliva 732ad89f3d markdown: Fix URL link topic skipping query.
When searching for links inside a topic name, the question mark (?)
was used to split the topic. If a URL had a query after the URL
(e.g., "?foo=bar"), then the query was trimmed from the URL.

Removing the question mark from `basic_link_splitter` is sufficient
to fix this issue. The `get_web_link_regex` function then removes
the trailing punctuation if any, including literal question marks.

Fixes #26368.
2023-09-08 16:17:11 -07:00
..
__init__.py markdown: Fix URL link topic skipping query. 2023-09-08 16:17:11 -07:00
api_arguments_table_generator.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
api_return_values_table_generator.py response: Implement ignored parameters with MutableJsonResponse class. 2023-03-06 10:33:13 -08:00
fenced_code.py fenced_code: Enable code-highlighting without language markers. 2023-08-29 18:16:11 -07:00
help_emoticon_translations_table.py markdown: Rename preprocessor_priorities module to priorities. 2022-06-26 17:36:31 -07:00
help_relative_links.py help: Document how to view all direct messages in the desktop/web app. 2023-08-15 10:10:31 -07:00
help_settings_links.py settings: Change "Display settings" to "Preferences". 2023-07-12 07:09:03 -07:00
include.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
nested_code_blocks.py ruff: Fix SIM102 nested `if` statements. 2023-01-23 11:18:36 -08:00
priorities.py markdown: Rewrite /static/ images to use staticfiles_storage.url. 2023-02-14 17:17:06 -05:00
static.py markdown: Rewrite /static/ images to use staticfiles_storage.url. 2023-02-14 17:17:06 -05:00
tabbed_sections.py tabbed_sections: Fix a backtrack-able regex. 2023-09-08 14:51:51 -07:00