Active
Project:
Pathologic
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2013 at 11:24 UTC
Updated:
3 Jul 2013 at 02:53 UTC
Hi,
if I have a anchor url with <a href="#myanchor">Link text</a> I would like to make it into this shape:
<a href="http://www.base_url/url_alias_path_of_node/#myanchor">Link text</a>
is it possible?
Comments
Comment #1
Garrett Albright commentedThat would be a great feature. The problem is that input filters don't have access to much context outside of the piece of text they are filtering, and thus can't know if the text is part of a node, block, or some other thing, or if that thing has its own URL. So when the filter runs, there's no certain way to determine what the path of the thing that the text belongs to is so it can be added to the link.
So it's a great idea, but not currently possible. =[
Comment #2
Garrett Albright commentedChanging to a feature request and keeping it open just in case there's a way to do it some day.
Comment #2.0
Garrett Albright commentedcorrect code