If an object in a formatter tag ({{foo.bar.baz}}) is Displayable, then we will modify the output based on its display properties. Currently only supports user links and foreground colours. This also changes the internal format of nickname links to be `\u16<nick to link to>\u16<text to show>\u16`, allowing the link and text to differ. This means if you formatted users by showing their realname, you could still click them to open a query. Closes #424 Closes DMDirc/Plugins#507pull/748/head
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
25 |
|
|
|
26 |
|
|
25 |
|
27 |
|
26 |
|
28 |
|
|
29 |
|
|
|
30 |
|
|
27 |
|
31 |
|
28 |
|
32 |
|
29 |
|
33 |
|
|
|
||
111 |
|
115 |
|
112 |
|
116 |
|
113 |
|
117 |
|
|
118 |
|
|
114 |
|
119 |
|
115 |
|
120 |
|
116 |
|
121 |
|
117 |
|
|
|
118 |
|
|
|
|
122 |
|
|
119 |
|
123 |
|
120 |
|
124 |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
121 |
|
132 |
|
122 |
|
133 |
|
123 |
|
134 |
|
|
|
||
128 |
|
139 |
|
129 |
|
140 |
|
130 |
|
141 |
|
131 |
|
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
132 |
|
161 |
|
133 |
|
162 |
|
134 |
|
163 |
|
|
|
||
61 |
|
61 |
|
62 |
|
62 |
|
63 |
|
63 |
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
|
64 |
|
|
|
65 |
|
|
68 |
|
66 |
|
69 |
|
67 |
|
70 |
|
68 |
|
|
|
||
77 |
|
75 |
|
78 |
|
76 |
|
79 |
|
77 |
|
80 |
|
|
|
81 |
|
|
|
|
78 |
|
|
82 |
|
79 |
|
83 |
|
80 |
|
84 |
|
81 |
|
|
|
||
333 |
|
333 |
|
334 |
|
334 |
|
335 |
|
335 |
|
|
336 |
|
|
336 |
|
337 |
|
337 |
|
338 |
|
338 |
|
339 |
|
339 |
|
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
340 |
|
343 |
|
341 |
|
344 |
|
342 |
|
345 |
|
343 |
|
|
|
|
346 |
|
|
344 |
|
347 |
|
345 |
|
348 |
|
346 |
|
349 |
|