UNPKG

file2html-ooxml

Version:
11 lines (10 loc) 298 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function italicStyle(style, attributes) { var value = attributes['w:val']; if (value !== '0' && value !== 'false') { style += 'font-style:italic;'; } return style; } exports.default = italicStyle;