• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonbathyscaphephpgamewindowsguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Commit MetaInfo

Revisãocb98e689daac55a6c9109144e5b312e91da21d2b (tree)
Hora2019-12-03 18:12:00
AutorDan Villiom Podlaski Christiansen <dan@mage...>
CommiterDan Villiom Podlaski Christiansen

Mensagem de Log

prevent emojis from breaking boldness

Mudança Sumário

Diff

diff -r 8f8da5bb6002 -r cb98e689daac menu.py
--- a/menu.py Thu Nov 28 10:46:28 2019 +0100
+++ b/menu.py Tue Dec 03 10:12:00 2019 +0100
@@ -109,10 +109,6 @@
109109 count=1,
110110 )
111111
112- # milk and gluten
113- line = regex.sub(r'\(?\bG\b\)?,?', ':gluten:', line, count=1)
114- line = regex.sub(r'\(?\bL\b\)?,?', ':lactose:', line, count=1)
115-
116112 line = regex.sub(
117113 f'^{weekday} ', '', line, count=1, flags=regex.IGNORECASE
118114 )
@@ -134,6 +130,10 @@
134130
135131 line = regex.sub(r'^([^[:punct:]]+:)', r'*\1*', line, count=1)
136132
133+ # milk and gluten
134+ line = regex.sub(r'\(?\bG\b\)?,?', ':gluten:', line, count=1)
135+ line = regex.sub(r'\(?\bL\b\)?,?', ':lactose:', line, count=1)
136+
137137 yield line
138138
139139