Skip to content

Commit

Permalink
bugfix: fax discord (#4483)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeebBeebBoob authored Feb 22, 2024
1 parent d334c05 commit dfa62c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/paperwork/faxmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist)
SSdiscord.send2discord_complex(DISCORD_WEBHOOK_REQUESTS, payload)

/obj/machinery/photocopier/faxmachine/proc/sanitize_paper(obj/item/paper/paper) // html to discord markdown-101
var/text = paper.show_content(forceshow = 1, view = 0)
var/text = "[paper.header][paper.info][paper.footer]"
text = replacetext(text, "<BR>", "\n")
text = replacetext(text, "</U>", "__")
text = replacetext(text, "<B>", "**")
Expand Down

0 comments on commit dfa62c5

Please sign in to comment.