summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-03 18:14:19 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-03 18:14:19 (GMT)
commitcfb38c32173c3a16dc1c8e868b4cc23a68ed28b8 (patch)
tree018e8f5de990aedc2ea2b98065d07bc92253a8f1 /src/docparser.cpp
parent4edf2204046b915a6244cde9be0df3ff60e312cb (diff)
downloadDoxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.zip
Doxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.tar.gz
Doxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.tar.bz2
Release-1.7.6
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 17c1461..480a77a 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -962,7 +962,7 @@ static int handleAHref(DocNode *parent,QList<DocNode> &children,const HtmlAttrib
// and remove the href attribute
bool result = attrList.remove(index);
ASSERT(result);
- DocHRef *href = new DocHRef(parent,attrList,opt->value);
+ DocHRef *href = new DocHRef(parent,attrList,opt->value,g_relPath);
children.append(href);
g_insideHtmlLink=TRUE;
retval = href->parse();
@@ -2740,9 +2740,11 @@ void DocMscFile::parse()
//---------------------------------------------------------------------------
-DocImage::DocImage(DocNode *parent,const HtmlAttribList &attribs,const QCString &name,Type t) :
+DocImage::DocImage(DocNode *parent,const HtmlAttribList &attribs,const QCString &name,
+ Type t,const QCString &url) :
m_attribs(attribs), m_name(name),
- m_type(t), m_relPath(g_relPath)
+ m_type(t), m_relPath(g_relPath),
+ m_url(url)
{
m_parent = parent;
}
@@ -5463,7 +5465,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
// and remove the src attribute
bool result = attrList.remove(index);
ASSERT(result);
- DocImage *img = new DocImage(this,attrList,opt->value,DocImage::Html);
+ DocImage *img = new DocImage(this,attrList,opt->value,DocImage::Html,opt->value);
m_children.append(img);
found = TRUE;
}