fixed menu, added base styles, trying new header

This commit is contained in:
Dayle Rees
2012-04-02 19:05:07 +01:00
parent 6a9cc48164
commit 3cb1272028
8 changed files with 85 additions and 11 deletions

View File

@@ -731,8 +731,9 @@ class Markdown_Parser {
if (isset($this->urls[$link_id])) {
$url = $this->urls[$link_id];
// dayle convert
$url = URL::to($url);
$url = $this->encodeAttribute($url);
$result = "<a href=\"$url\"";
if ( isset( $this->titles[$link_id] ) ) {
$title = $this->titles[$link_id];
@@ -754,7 +755,8 @@ class Markdown_Parser {
$link_text = $this->runSpanGamut($matches[2]);
$url = $matches[3] == '' ? $matches[4] : $matches[3];
$title =& $matches[7];
// dayle convert
$url = URL::to($url);
$url = $this->encodeAttribute($url);
$result = "<a href=\"$url\"";