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
XWiki
xwiki-rendering
Commits
c28ff532
Commit
c28ff532
authored
Jan 11, 2022
by
Vincent Massol
Browse files
[Misc] Fix typo
parent
612437f2
Changes
1
Show whitespace changes
Inline
Side-by-side
xwiki-rendering-syntaxes/xwiki-rendering-syntax-xhtml/src/main/java/org/xwiki/rendering/internal/renderer/xhtml/XHTMLChainingRenderer.java
View file @
c28ff532
...
...
@@ -389,7 +389,7 @@ public void onVerbatim(String content, boolean inline, Map<String, String> param
if
(
inline
)
{
// Note: We generate a tt element rather than a pre element since pre elements cannot be located inside
// paragraphs for example. There also no tag in XHTML that has a semantic of preserving inline content so
// tt is the close
d
to pre for inline.
// tt is the close
st
to pre for inline.
// The class is what is expected by wikimodel to understand the tt as meaning a verbatim and not a Monospace
// element.
getXHTMLWikiPrinter
().
printXMLStartElement
(
"tt"
,
new
String
[][]
{
{
"class"
,
"wikimodel-verbatim"
}
});
...
...
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