- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
elif token == '\\голова':
if STATE == '<html>':
statement.append(STATE)
STATE = '<head>'
outpStr += STATE+'\n'
else:
STATE = 'ERROR'
elif token == '\\тело':
statement.append(STATE)
STATE = '<body'
outpStr += STATE
elif token == '\\пар':
statement.append(STATE)
STATE = '<p'
outpStr += STATE
elif token == '\\ж':
statement.append(STATE)
STATE = '<b'
outpStr += STATE
elif token == '\\к':
statement.append(STATE)
STATE = '<i'
outpStr += STATE
elif token == '\\пдч':
statement.append(STATE)
STATE = '<u'
outpStr += STATE
elif token == '\\зч':
statement.append(STATE)
STATE = '<s'
outpStr += STATE
elif token == '\\ссылка':
statement.append(STATE)
STATE = '<a'
outpStr += STATE
elif token == '\\под':
statement.append(STATE)
STATE = '<sub'
outpStr += STATE
elif token == '\\над':
statement.append(STATE)
STATE = '<sup'
outpStr += STATE
elif token == '\\зг1':
statement.append(STATE)
STATE = '<h1'
outpStr += STATE
elif token == '\\зг2':
statement.append(STATE)
STATE = '<h2'
outpStr += STATE
elif token == '\\зг3':
statement.append(STATE)
STATE = '<h3'
outpStr += STATE
elif token == '\\зг4':
statement.append(STATE)
STATE = '<h4'
outpStr += STATE
elif token == '\\зг5':
statement.append(STATE)
STATE = '<h5'
outpStr += STATE
bagor 09.09.2016 08:39 # −21
CTEPTOP 09.09.2016 14:13 # −22
guest0 09.09.2016 14:14 # −22
alisher226 09.09.2016 14:30 # −33
barop 10.09.2016 04:16 # 0
вдруг из гардеропа
выглянула ж
ай, что?
ничего! Жора гардеробщик!
bormand 10.09.2016 06:13 # 0
inkanus-gray 10.09.2016 11:07 # 0
Скобки круглые, а не фигурные.
А вставка атрибутов через паамаим некудотаим порвала мозг.
Вывод: это не ТеХ.