Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WmlToHtmlConverter.cs #24

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

wwlpublish
Copy link

No description provided.

@@ -528,7 +608,7 @@ private static object ProcessHyperlinkToBookmark(WordprocessingDocument wordDoc,
{
var style = new Dictionary<string, string>();
var a = new XElement(Xhtml.a,
new XAttribute("href", "#" + (string) element.Attribute(W.anchor)),
new XAttribute("href", "#" + (string)element.Attribute(W.anchor)),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of formatting/style changes that should be reverted, since they only make the PR harder to review.

@@ -439,7 +509,17 @@ private static void SetStyleElementValue(XElement xhtml, string styleValue)
// Transform contents of runs.
if (element.Name == W.r)
{
return ConvertRun(wordDoc, settings, element);
//return ConvertRun(wordDoc, settings, element);
Copy link

@danbetts danbetts Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where the PR falls over. An earlier PR changes this particular bit of code.

huan086 pushed a commit to huan086/Open-Xml-PowerTools that referenced this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants