Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: need insert html-tags into format marc-configuration: msg#00042

Subject: Re: need insert html-tags into format marc-configuration
Wolfgang Pichler wrote:

more sort of a chat the emailing today - eh ?


Christoffer Landtman wrote:

Wolfgang Pichler wrote:

Christoffer Landtman wrote:


[snip]

i want to specify e.g
   "ITEM1 = %a<br>ITEM2 = %b"
this works and should work in the future too :-)


[snip]


Ic!

However, this has no difference from the point of view of tag-stripping!
Emilda will strip the tags also from here, and you will have to patch
emilda if you want to allow them in marc_format. It does not help to
escape, as these are stripped on PHP-level! There are some tweaks that I
can give you, but first you want to be sure that you really want to do
this =) Let me know!

i do it already (the use of <br> - have a look at the test-installation !) and it seems to work i am sorry, i have to do this to structure a big record so it is more readable .
the rest (<em></em> and tables) was more sort of a joke ...


Ok, I see your case.

Emilda uses the strip_tags() function (http://php.net/strip_tags) to strip the request, and it apparently does ignore <br /> as a tag. For more information on this function, have a look at lib/sessions.inc, line 496. There is a logics how you from the config can allow certain defined tags, but in the case of marc_configuration and marc_format this would result in patching of the code.

If you need help with this, please let me know and I'll try to help you out as much as possible.

l.g.
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda


--
Christoffer Landtman
CEO
Oy Realnode Ab

landtman@xxxxxxxxxxxx
www.realnode.com


<Prev in Thread] Current Thread [Next in Thread>