Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
07d5f3f4
Commit
07d5f3f4
authored
Dec 23, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 685597 - C# <code> tag in an <example> tag does not render as expected.
parent
089771b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
docparser.cpp
src/docparser.cpp
+6
-1
No files found.
src/docparser.cpp
View file @
07d5f3f4
...
@@ -5857,6 +5857,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -5857,6 +5857,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
case
XML_SUMMARY
:
case
XML_SUMMARY
:
case
XML_REMARKS
:
case
XML_REMARKS
:
case
XML_EXAMPLE
:
g_xmlComment
=
TRUE
;
g_xmlComment
=
TRUE
;
// fall through
// fall through
case
XML_VALUE
:
case
XML_VALUE
:
...
@@ -5866,7 +5867,6 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -5866,7 +5867,6 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
retval
=
TK_NEWPARA
;
retval
=
TK_NEWPARA
;
}
}
break
;
break
;
case
XML_EXAMPLE
:
case
XML_DESCRIPTION
:
case
XML_DESCRIPTION
:
if
(
insideTable
(
this
))
if
(
insideTable
(
this
))
{
{
...
@@ -5879,6 +5879,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -5879,6 +5879,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
case
XML_PARAM
:
case
XML_PARAM
:
case
XML_TYPEPARAM
:
case
XML_TYPEPARAM
:
{
{
g_xmlComment
=
TRUE
;
QCString
paramName
;
QCString
paramName
;
if
(
findAttribute
(
tagHtmlAttribs
,
"name"
,
&
paramName
))
if
(
findAttribute
(
tagHtmlAttribs
,
"name"
,
&
paramName
))
{
{
...
@@ -5922,6 +5923,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -5922,6 +5923,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
break
;
break
;
case
XML_EXCEPTION
:
case
XML_EXCEPTION
:
{
{
g_xmlComment
=
TRUE
;
QCString
exceptName
;
QCString
exceptName
;
if
(
findAttribute
(
tagHtmlAttribs
,
"cref"
,
&
exceptName
))
if
(
findAttribute
(
tagHtmlAttribs
,
"cref"
,
&
exceptName
))
{
{
...
@@ -5950,6 +5952,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -5950,6 +5952,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
}
}
break
;
break
;
case
XML_RETURNS
:
case
XML_RETURNS
:
g_xmlComment
=
TRUE
;
retval
=
handleSimpleSection
(
DocSimpleSect
::
Return
,
TRUE
);
retval
=
handleSimpleSection
(
DocSimpleSect
::
Return
,
TRUE
);
g_hasReturnCommand
=
TRUE
;
g_hasReturnCommand
=
TRUE
;
break
;
break
;
...
@@ -6002,6 +6005,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -6002,6 +6005,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
break
;
break
;
case
XML_SEEALSO
:
case
XML_SEEALSO
:
{
{
g_xmlComment
=
TRUE
;
QCString
cref
;
QCString
cref
;
if
(
findAttribute
(
tagHtmlAttribs
,
"cref"
,
&
cref
))
if
(
findAttribute
(
tagHtmlAttribs
,
"cref"
,
&
cref
))
{
{
...
@@ -6060,6 +6064,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
...
@@ -6060,6 +6064,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
case
XML_INCLUDE
:
case
XML_INCLUDE
:
case
XML_PERMISSION
:
case
XML_PERMISSION
:
// These tags are defined in .Net but are currently unsupported
// These tags are defined in .Net but are currently unsupported
g_xmlComment
=
TRUE
;
break
;
break
;
case
HTML_UNKNOWN
:
case
HTML_UNKNOWN
:
warn_doc_error
(
g_fileName
,
doctokenizerYYlineno
,
"Unsupported xml/html tag <%s> found"
,
qPrint
(
tagName
));
warn_doc_error
(
g_fileName
,
doctokenizerYYlineno
,
"Unsupported xml/html tag <%s> found"
,
qPrint
(
tagName
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment