52
52
<ul class="list-unstyled">
53
53
<?php foreach ($ category ->children as $ resource ): ?>
54
54
<li>
55
- <a href="#<?= $ resource ->get_href (); ?> "><?= $ resource ->title ; ?> </a>
55
+ <a href="#<?= str_replace ( ' - ' , ' / ' , $ resource ->get_href () ); ?> "><?= $ resource ->title ; ?> </a>
56
56
</li>
57
57
<ul>
58
58
<?php foreach ($ resource ->children as $ transition ): ?>
59
59
<li>
60
- <a href="#<?= $ transition ->get_href (); ?> ">
60
+ <a href="#<?= str_replace ( ' - ' , ' / ' , $ transition ->get_href () ); ?> ">
61
61
<?= $ transition ->title ; ?>
62
62
<span
63
63
class="pull-right <?= $ this ->get_method_icon ($ transition ->get_method ()); ?> "></span>
@@ -109,7 +109,7 @@ class="pull-right <?= $this->get_method_icon($transition->get_method()); ?>"></s
109
109
<?php endif ;?>
110
110
<?php foreach ($ category ->children as $ resource ): ?>
111
111
<h3>
112
- <a id="<?= $ resource ->get_href (); ?> "><?= $ resource ->title ; ?> </a>
112
+ <a id="<?= str_replace ( ' - ' , ' / ' , $ resource ->get_href () ); ?> "><?= $ resource ->title ; ?> </a>
113
113
<small><?= $ resource ->href ; ?> </small>
114
114
</h3>
115
115
<p><?php $ resource ->description ; ?> </p>
@@ -121,7 +121,7 @@ class="panel panel-default <?= $transition->get_method(); ?>">
121
121
<var><?= $ transition ->get_method (); ?> </var>
122
122
<code><?= $ transition ->href ; ?> </code>
123
123
<a class="pull-right transition-title"
124
- id="<?= $ transition ->get_href (); ?> "><?= $ transition ->title ; ?> </a>
124
+ id="<?= str_replace ( ' - ' , ' / ' , $ transition ->get_href () ); ?> "><?= $ transition ->title ; ?> </a>
125
125
</h3>
126
126
</div>
127
127
<div class="panel-body">
0 commit comments