Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
violethaze74
appstream
Commits
fe2894b8
Commit
fe2894b8
authored
Aug 13, 2019
by
Matthias Klumpp
Browse files
validator: Don't complain about <em/> and <code/> in paragraphs
parent
e774931f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/as-validator.c
View file @
fe2894b8
...
...
@@ -515,6 +515,9 @@ as_validator_check_description_paragraph (AsValidator *validator, xmlNode *node)
continue
;
node_name
=
(
const
gchar
*
)
iter
->
name
;
if
((
g_strcmp0
(
node_name
,
"em"
)
==
0
)
||
(
g_strcmp0
(
node_name
,
"code"
)
==
0
))
continue
;
as_validator_add_issue
(
validator
,
iter
,
"description-para-markup-invalid"
,
...
...
Write
Preview
Supports
Markdown
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