mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-08 03:52:12 +02:00
styling of active nodes with initial numbers
This commit is contained in:
parent
bc127bf619
commit
96fc5f9759
11
h-m-m
11
h-m-m
|
@ -2914,12 +2914,13 @@ function display(&$mm, $force_center = false)
|
||||||
;
|
;
|
||||||
|
|
||||||
// styling the codes when the node is not active
|
// styling the codes when the node is not active
|
||||||
// it used to be the 'else' of the above condition
|
// with "else", the downside is that other codes
|
||||||
// because it resets the bold attribute of the active
|
// with the same "y" will not be styled.
|
||||||
// node. However, it think losing the bold attribute
|
// Without the "else", the downside is that the
|
||||||
// is better than leaving the numbers unformatted
|
// rest of the line in the active node won't be bold.
|
||||||
// in the same line as the active node.
|
// between these two, I think the former is better.
|
||||||
|
|
||||||
|
else
|
||||||
$line =
|
$line =
|
||||||
mb_ereg_replace
|
mb_ereg_replace
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue