[Building Sakai] html links in announcements and T&Q

Karen Tsao ktsao at stanford.edu
Tue Feb 1 17:34:36 PST 2011


Even with the translating, you should still be able to have links. Can I get
more details about what you plan to do? Like where you want to insert a 'a'
tag? If it's an FCK field, you can either use the Insert/Edit Link icon or
just type something like *<a href="http://google.com" target="_blank">
google.com</a>* under source mode.

Thanks,
Karen

On Tue, Feb 1, 2011 at 5:24 PM, Brandt, Chris M. <cmbrandt at ucdavis.edu>wrote:

> So is there no way to have a clickable link inside of a question?
>
> Chris
>
> On Feb 1, 2011, at 4:28 PM, "Karen Tsao" <ktsao at stanford.edu<mailto:
> ktsao at stanford.edu>> wrote:
>
> Hi Chris,
>
> The change is to prevent cross site scripting (XSS). We call some APIs from
> org.sakaiproject.util.FormattedText class to translate the input to html
> safe content.
>
> Thanks,
> Karen
>
> On Tue, Feb 1, 2011 at 2:30 PM, Brandt, Chris M. <<mailto:
> cmbrandt at ucdavis.edu>cmbrandt at ucdavis.edu<mailto:cmbrandt at ucdavis.edu>>
> wrote:
> We had an issue awhile back where the announcement tool wouldn't allow any
> HTML content (br, ul, li, etc.).
>
> We're having a similar issue again -- only this time it's preventing us
> from using the 'a' tag.
>
> In Announcements, a warning error pops up -"Alert: The HTML tag '<a>' is
> not allowed in formatted text."
>
> In T&Q, it just rewrites the content, translating it to html safe content.
>
> We're not sure when this cropped up, but it was only reported to us
> recently.
>
> Any suggestions?
>
> Chris
>
> ____________
>
> Chris Brandt, DVM, MS
> Instructional Media Development Specialist
> Computing and Technology Services (CATS)
> UC Davis School of Veterinary Medicine
> <http://www.vetmed.ucdavis.edu>http://www.vetmed.ucdavis.edu
> (530) 754-4452
>
> _______________________________________________
> sakai-dev mailing list
> <mailto:sakai-dev at collab.sakaiproject.org>
> sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org
> >
> <http://collab.sakaiproject.org/mailman/listinfo/sakai-dev>
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to <mailto:
> sakai-dev-unsubscribe at collab.sakaiproject.org>
> sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:
> sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of
> "unsubscribe"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110201/0da81af6/attachment.html 


More information about the sakai-dev mailing list