mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Allows the book binder to remember font typing (#75007)
use that for book binding ## About The Pull Request Closes https://github.com/tgstation/tgstation/issues/74996 ## Why It's Good For The Game ## Changelog 🆑 fix: Bookbinder no longer takes your pen's font and throws it out the nearest window /🆑
This commit is contained in:
@@ -695,6 +695,17 @@
|
||||
advanced_html = advanced_html,
|
||||
)
|
||||
|
||||
/// Returns the raw contents of the input as html, with **ZERO SANITIZATION**
|
||||
/datum/paper_input/proc/to_raw_html()
|
||||
var/final = raw_text
|
||||
if(font)
|
||||
final = "<font face='[font]'>[final]</font>"
|
||||
if(colour)
|
||||
final = "<font color='[colour]'>[final]</font>"
|
||||
if(bold)
|
||||
final = "<b>[final]</b>"
|
||||
return final
|
||||
|
||||
/// A single instance of a saved stamp on paper.
|
||||
/datum/paper_stamp
|
||||
/// Asset class of the for rendering in tgui
|
||||
|
||||
Reference in New Issue
Block a user