Exemple #1
0
 public HtmlConverter(JArray ops, HtmlConverterOptions options = null) :
     base(ops, options ?? new HtmlConverterOptions())
 {
     _converterOptions = new OpToHtmlConverterOptions()
     {
         EncodeHtml             = Options.EncodeHtml,
         ClassPrefix            = _options.ClassPrefix,
         InlineStyles           = _options.InlineStyles,
         ListItemTag            = _options.ListItemTag,
         ParagraphTag           = _options.ParagraphTag,
         LinkRel                = _options.LinkRel,
         LinkTarget             = _options.LinkTarget,
         AllowBackgroundClasses = _options.AllowBackgroundClasses
     };
 }
Exemple #2
0
 public OpToHtmlConverter(DeltaInsertOp op, OpToHtmlConverterOptions options = null) :
     base(op, options ?? new OpToHtmlConverterOptions())
 {
 }