Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | } |
77 | 77 | |
78 | 78 | protected function getServiceLinkParams() { |
79 | | - // Create links to mapping services based on a wiki-editable message. The parameters |
| 79 | + // Create links to mapping services based on a wiki-editable message. The parameters |
80 | 80 | // available to the message are: |
81 | 81 | // $1: urlencoded string |
82 | 82 | if ( ($this->m_typeid != '_txt') && ($this->m_typeid != '_cod') ){ |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | * Special features for Type:Code formating. |
119 | 119 | */ |
120 | 120 | protected function getCodeDisplay($value, $scroll = false) { |
121 | | - $result = str_replace( array('<', '>', ' ', '://', '=', "'"), array('<', '>', ' ', '<!-- -->://<!-- -->', '=', '''), $value); |
| 121 | + $result = str_replace( array('<', '>', ' ', '://', '=', "'"), array('<', '>', ' ', '://<i></i>', '=', '''), $value); |
122 | 122 | if ($scroll) { |
123 | 123 | $result = "<div style=\"height:5em; overflow:auto;\">$result</div>"; |
124 | 124 | } |