word censor links within links

We have a dictionary section on our website that contains many poker related terms. In order to help it grow, we added a word censor that changes text/words into links to these pages. See below for an example.

Dictionary - [url removed, login to view]

Article - [url removed, login to view]

As you can see in the article, the text that have entries in the dictionary are changed to links. The words "draw" ([url removed, login to view]) "fixed limit" ([url removed, login to view]) and "pot limit" ([url removed, login to view]) in the first paragraph are entries in the dictionary, so are automated to change to links.

However, these is a problem with this because it is effecting links within links. For example, see this page - [url removed, login to view]

If you scroll down to the section Poker Charts, the link for 2 of the charts does not work. "Pot Odds and Outs Chart" should be linking to [url removed, login to view] and "Common Flop Odds" to [url removed, login to view] However, because the words "Pots Odds" "Outs" and "Flop" are in our dictionary, it changes them to links to the entries and ruins the link.

We need someone to help us edit the code and add an exception - Links to the entries should NOT generate if they are already part of another link. So in the above example, the "Pot Odds and Outs Chart" should NOT link to Pot Odds or Outs, it only should be one link to [url removed, login to view]

Taidot: PHP

Näytä lisää: one word for many words dictionary, outs, images into word, flop, php grow, chart example, website dictionary, add exception, need someone edit article, php generate word, code word, edit word php, edit add text gif, word dictionary, edit website entries, pages word, need someone draw, limit poker, odds poker, edit text gif, scroll gif, images word text, card word, poker related article, change word

Tietoa työnantajasta:
( 34 arvostelua ) Ishpeming, United States

Projektin tunnus: #492508

Myönnetty käyttäjälle:


Hi. This is something I can finish immediately. Please refer to the PMB for more info!

$30 USD 0 päivässä
(7 Arvostelua)

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


I can fix this issue. Please check PM for more details.

$50 USD 1 päivässä
(289 arvostelua)

Hello givememyleg, Check your PMs, thanks. Best Regards, Stan.

$30 USD 1 päivässä
(67 arvostelua)

Hello, I'll be sending you a PM shortly.

$40 USD 1 päivässä
(37 arvostelua)

Should be able to sort this for you.

$35 USD 1 päivässä
(12 arvostelua)