SarahZum / primo-explore-custom-no-results

Add custom text and an option to expand results to PCI when no records retrieved.
10 stars 2 forks source link

Links broken within the "Suggestion" list #6

Open Steve-A-Orr opened 7 years ago

Steve-A-Orr commented 7 years ago

Just decided to implement your solution (we decided NOT to use language translation in Primo) and noticed that any link I put into the list item was filtered out. For example, the following HTML would only show as a plain list item containing a text string without a link: <li translate="" class="ng-scope">Try a <a href="/primo-explore/?diff-params=true">different search scope</a>.</li>

After experimenting, I found that removing the "translate" parameter stopped the filtering and displayed the desired link. So the working HTML would be: <li class="ng-scope">Try a <a href="/primo-explore/?diff-params=true">different search scope</a>.</li>

Just thought you and your community should know.