mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-09 12:30:49 +02:00
Confluence add tag to replaced names (#852)
This commit is contained in:
parent
4d950aa60d
commit
2f001c23b7
@ -129,7 +129,8 @@ def parse_html_page(text: str, confluence_client: Confluence) -> str:
|
||||
if "ri:account-id" in user.attrs
|
||||
else user.attrs["ri:userkey"]
|
||||
)
|
||||
user.replaceWith(_get_user(user_id, confluence_client))
|
||||
# Include @ sign for tagging, more clear for LLM
|
||||
user.replaceWith("@" + _get_user(user_id, confluence_client))
|
||||
return format_document_soup(soup)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user