mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-07-22 01:32 am

[dw-free] html from link to me module gets mangled on LJ

[commit: http://hg.dwscoalition.org/dw-free/rev/7fc2aa354b43]

http://bugs.dwscoalition.org/show_bug.cgi?id=1429

Fix link-to-me output to skip the ljuser class.

Patch by [personal profile] afuna.

Files modified:
  • htdocs/userinfo.bml
--------------------------------------------------------------------------------
diff -r 101a5c59af1e -r 7fc2aa354b43 htdocs/userinfo.bml
--- a/htdocs/userinfo.bml	Wed Jul 22 01:28:13 2009 +0000
+++ b/htdocs/userinfo.bml	Wed Jul 22 01:32:04 2009 +0000
@@ -975,7 +975,7 @@ body<=
     if ( $u->is_individual || $u->is_community ) {
 
         my $local_link .= "<user name=\"" . $u->username . "\">";
-        my $remote_link .= $u->ljuser_display;
+        my $remote_link .= $u->ljuser_display( { no_ljuser_class => 1 } );
 
 
         my $link_body = "<div style='font-style:italic;'>" . BML::ml( '.linking.about' ) . "</div>";
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org