Skip to content

Commit

Permalink
Set missing highlightColor attribute (#1693)
Browse files Browse the repository at this point in the history
* Set missing highlightColor attribute
#1662

* delaunch
  • Loading branch information
stevencohn authored Nov 30, 2024
1 parent 30d948a commit 98ef58b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OneMore/Commands/Styles/ApplyStylesCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ private bool ApplyStyles(List<Style> styles)
// spaceBetween should only apply to normal paragraphs
name == "p" ? spacing : null);

quick.Attribute("fontColor").Value = style.Color;
quick.Attribute("highlightColor").Value = style.Highlight;
quick.SetAttributeValue("fontColor", style.Color);
quick.SetAttributeValue("highlightColor", style.Highlight);

quick.SetAttributeValue("italic", style.IsItalic.ToString().ToLower());
quick.SetAttributeValue("bold", style.IsBold.ToString().ToLower());
Expand Down

0 comments on commit 98ef58b

Please sign in to comment.