Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
38 | 8 | public function replace( $value ) { |
|
39 | |||
40 | // Strip any [[ :: ]] from a value to avoid "foreign" annotation parsing |
||
41 | // for annotation embedded within a value |
||
42 | 8 | $value = InTextAnnotationParser::removeAnnotation( |
|
43 | $value |
||
44 | 8 | ); |
|
45 | |||
46 | 8 | return $this->replaceEmbeddedLinksWith( $this->querySource, $value ); |
|
47 | } |
||
48 | |||
75 |