I tried running this, and it's worth clarifying that this removes all hyperlinks that happen to span a paragraph break. It removes the entire hyperlink, not just from the paragraph break. Personally I just need it removed from the paragraph break, so it did not solve my version of the problem.
It's also worth noting that the solution relies on the hyperlink having a specific character style. This might not always be the case, and the name of the default style varies with language settings. This is a potential problem for more wide-spread use.
|