[busy] Multiple links in one sentence

in #utopian-io5 years ago (edited)

Project Information

I've reported the issue, made the fix, and submitted the PR.

Expected behavior

Multiple hyperlinks in one sentence should be shown as hyperlinks.

Actual behavior

Only the first link is shown as a hyperlink. For instance, https://busy.org, http://steemit.com, https://steempeak.com.

How to reproduce

Recording Of The Bug

https://busy.org/@blockchainstudio/steem-keychain-should-hide-private-keys-by-default



Compare this with the result on steemit.com

https://steemit.com/utopian-io/@blockchainstudio/steem-keychain-should-hide-private-keys-by-default

  • Browser: Any
  • Operating system: Any

Cause and Fix

The problem is due to the wrong html paring module. The only first link was handled by the previous code. I've changed it based on Steemit condenser code for compatibility. After the fix, it works well as follows:

Before

Visit https://busy.org/@blockchainstudio/steem-keychain-should-hide-private-keys-by-default

After

GitHub Account

https://github.com/economicstudio

Sort:  

짱짱맨 호출에 응답하였습니다.

Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 71539.00
ETH 3603.23
USDT 1.00
SBD 4.75