File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/markdown-docx/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ const { sanitizeHtmlChars } = require('./CiceroMarkToOOXMLHelpers');
19
19
/**
20
20
* Inserts text.
21
21
*
22
- * @param {string } value Text to be rendered
23
- * @returns {string } OOXML for the text
22
+ * @param {string } value Enclosing value of the OOXML tag
23
+ * @returns {string } OOXML tag for the text
24
24
*/
25
25
const TEXT_RULE = ( value ) => {
26
26
return `<w:r><w:t xml:space="preserve">${ sanitizeHtmlChars ( value ) } </w:t></w:r>` ;
27
27
} ;
28
28
29
29
/**
30
- * Inserts emphsaised text.
30
+ * Inserts emphasised text.
31
31
*
32
- * @param {string } value Text to be rendered
33
- * @returns {string } OOXML for the emphasised text
32
+ * @param {string } value Enclosing value of the OOXML tag
33
+ * @returns {string } OOXML tag for the emphasised text
34
34
*/
35
35
const EMPHASIS_RULE = ( value ) => {
36
36
return `<w:r><w:rPr><w:i w:val="true" /></w:rPr><w:t>${ sanitizeHtmlChars ( value ) } </w:t></w:r>` ;
You can’t perform that action at this time.
0 commit comments