You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really not sure where the trailing \h comes from or how to make this work. I've dug through the code and added some debug and I see the Nokogiri element being parsed correctly and I see the WordML struct coming back as
@sangpark we test hyperlink insertion using this HTML block, https://github.com/senny/sablon/blob/master/test/fixtures/html/html_test_content.html and yours looks fine. Unfortunately I don't have easy access to MS Word to test things anymore. Can you try wrapping the link in a <div></div> tag? If you want you can attach your word doc template to the issue and I'll try it out.
Thanks @stadelmanma . I tried wrapping my anchor link in a <div></div> and also <p></p> but I get similar results. I've attached the template file below.
I've been trying to insert a dynamic hyperlink via a mailmerge field but am running into issues.
The context json looks like
And the template docx is pretty simple with only the following
but when I run the sample command line executable
I get the following output.
![sample_output](https://user-images.githubusercontent.com/158148/118349020-1458ae80-b51c-11eb-9d04-53b1ade14ab5.png)
I'm really not sure where the trailing \h comes from or how to make this work. I've dug through the code and added some debug and I see the Nokogiri element being parsed correctly and I see the WordML struct coming back as
I'm not sure if I'm doing something incorrectly or if this is a bug.
The text was updated successfully, but these errors were encountered: