@@ 617-621 (lines=5) @@ | ||
614 | $url = $this->encodeURLAttribute($url); |
|
615 | ||
616 | $result = "<a href=\"$url\""; |
|
617 | if ( isset( $this->titles[$link_id] ) ) { |
|
618 | $title = $this->titles[$link_id]; |
|
619 | $title = $this->encodeAttribute($title); |
|
620 | $result .= " title=\"$title\""; |
|
621 | } |
|
622 | ||
623 | $link_text = $this->runSpanGamut($link_text); |
|
624 | $result .= ">$link_text</a>"; |
|
@@ 727-731 (lines=5) @@ | ||
724 | if (isset($this->urls[$link_id])) { |
|
725 | $url = $this->encodeURLAttribute($this->urls[$link_id]); |
|
726 | $result = "<img src=\"$url\" alt=\"$alt_text\""; |
|
727 | if (isset($this->titles[$link_id])) { |
|
728 | $title = $this->titles[$link_id]; |
|
729 | $title = $this->encodeAttribute($title); |
|
730 | $result .= " title=\"$title\""; |
|
731 | } |
|
732 | $result .= $this->empty_element_suffix; |
|
733 | $result = $this->hashPart($result); |
|
734 | } |
@@ 794-798 (lines=5) @@ | ||
791 | $url = $this->encodeURLAttribute($url); |
|
792 | ||
793 | $result = "<a href=\"$url\""; |
|
794 | if ( isset( $this->titles[$link_id] ) ) { |
|
795 | $title = $this->titles[$link_id]; |
|
796 | $title = $this->encodeAttribute($title); |
|
797 | $result .= " title=\"$title\""; |
|
798 | } |
|
799 | if (isset($this->ref_attr[$link_id])) |
|
800 | $result .= $this->ref_attr[$link_id]; |
|
801 | ||
@@ 909-913 (lines=5) @@ | ||
906 | if (isset($this->urls[$link_id])) { |
|
907 | $url = $this->encodeURLAttribute($this->urls[$link_id]); |
|
908 | $result = "<img src=\"$url\" alt=\"$alt_text\""; |
|
909 | if (isset($this->titles[$link_id])) { |
|
910 | $title = $this->titles[$link_id]; |
|
911 | $title = $this->encodeAttribute($title); |
|
912 | $result .= " title=\"$title\""; |
|
913 | } |
|
914 | if (isset($this->ref_attr[$link_id])) |
|
915 | $result .= $this->ref_attr[$link_id]; |
|
916 | $result .= $this->empty_element_suffix; |