react-anchorme
react-anchorme copied to clipboard
Mixing inner text and parameters causes error
Great library! One issue I'm seeing is that if you have both normal text and bracketed inner parameters passed as children the component throws various errors.
Example 1: <Anchorme target="_blank" rel="noopener">testa.com {"testb.com"}</Anchorme>
Example 2, note the spaces around the brackets: <Anchorme target="_blank" rel="noopener"> {"testa.com"} </Anchorme>