Displaying 20 results from an estimated 50000 matches similar to: "HTML tags?"
2008 Jul 24
1
Excerpting a summary from my marked-up blog post without breaking html tags?
Hi there,
I''m working on a simple blog project. I''d like to automatically
generate a 100 word excerpt of each article to display on the main
page, and require the user to click on the article to read the whole
thing. The problem is, if the hundredth word is in the middle of a
block quote or a heading or something, the whole page gets messed up.
What''s the easiest way
2009 Mar 02
3
Truncate function and html tags
I have a text field in the db for the body of user posts. Users
submit the posts using the tinymce editor, which allows certain html
tags. The posts are stored in the db with allowed html tags directly
in the post, so I could have something like:
<p>This post will try to eliminate the confusion regarding rails and
the truncate function.</p>
I am trying to display the first 300
2007 Sep 27
1
help with channelbank audiocodes MP-124
Hi:
We're offering some sort of reward to that one who can help us
For this site we are using trixbox and Asterisk 1.2
More info off list.
Many thanks,
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070927/4b058148/attachment-0001.htm
2017 Apr 18
1
About search result excerpts with HTML tags showing
Hi, folks. New to Xapian. I just built a couple of indexes. Search
results seem good but I can't figure out why the excerpts are showing HTML
tags. These tags are not present in the original HTML documents. Is there
a built-in way to either get rid of these tags or have them render as
actual HTML tags?
A couple of examples here, you'll see the STRONG tags wrapped around the
search
2006 Jun 12
2
in_place_editor consumes html tags?
I''ve got a bog-standard view which displays textilized data. In the same
view, I have an in_place_editor which uses load_text_url to bring in
non-textilized data when editing.
Now, if I have html tags in the data loaded from load_text_url, they
appear to go missing. I can see the tags in the output from my
controller method using the console, but the tags are not shown in the
2007 Mar 30
2
Adding html tags to a template
Would I be able to add custom html tags to a template, such that they
are parsed by a plugin? If so, could you give some guidelines?
Thanks,
Scott Taylor
2007 Jan 04
2
remove html tags from string in controller, how?
Been searching for a function that can do this, but have onl found a
helper function.
is there a way to strip all html tags of a string in a controller?
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2009 Jun 06
1
Rpad - avoid removal of manually created html-tags in R chunk
Dear Rpad-users,
currently I am setting up a web page using Rpad (www.rpad.org). But I
have a problem with generating dynamic html-output in the Rpad chunk.
Here an example of my problem:
I have the following index.html file:
<html>
<head>
<title>example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2007 Dec 19
0
Convert all HTML entities within <pre> tags?
Textile 2.0.0:
bc. This is within a block of code, so < and > should be *entities*.
You can talk about a <p> tag if you wish and it will be properly
escaped.
<pre>
You can''t make something actually <b>bold</b> within.
</pre>
Output:
<pre><code>This is within a block of code, so < and > should be
*entities*. You can
2015 Jan 31
0
[LLVMdev] [3.6 Release] RC2 has been tagged, Testing Phase II begins
On 31 Jan 2015, at 01:42, Hans Wennborg <hans at chromium.org> wrote:
> Hi testers,
>
> 3.6.0-rc2 was just tagged. Please test and build binaries.
>
> The tracking bug for 3.6 blockers is http://llvm.org/pr22374. Please
> file issues against it.
>
> Thanks for helping with the release!
This time I got an error during check-all, on i386-unknown-freebsd10:
2015 Jan 31
2
[LLVMdev] [3.6 Release] RC2 has been tagged, Testing Phase II begins
On Sat, Jan 31, 2015 at 9:24 AM, Dimitry Andric <dimitry at andric.com> wrote:
> On 31 Jan 2015, at 01:42, Hans Wennborg <hans at chromium.org> wrote:
>> Hi testers,
>>
>> 3.6.0-rc2 was just tagged. Please test and build binaries.
>>
>> The tracking bug for 3.6 blockers is http://llvm.org/pr22374. Please
>> file issues against it.
>>
2006 May 30
7
Stripping HTML tags from a string
Hello,
Is there a common way of stripping html tags from a string? Right now I''m
just calling gsub!(/<.*?>/, ''''), but with a background in PHP and always
having used its strip_tags() method, I wonder if the Rails community has
standardized this fairly common task with something a bit less simpleminded
than my quick fix.
Thanks!
Zack
-------------- next part
2017 Feb 09
2
[Release-testers] [4.0.0 Release] Release Candidate 2 has been tagged
On Thu, Feb 9, 2017 at 2:23 PM, Dimitry Andric <dimitry at andric.com> wrote:
> On 9 Feb 2017, at 01:33, Hans Wennborg via Release-testers <release-testers at lists.llvm.org> wrote:
>>
>> 4.0.0-rc2 was just tagged from the branch at r294535.
>
> Building on FreeBSD 10 at least didn't crash this time, and lld built just fine. :) I uploaded the following:
>
2013 Jun 06
0
Using Loofah to gain control of what HTML tags get sanitized
Hi everyone
I''m Kasper. One part of<http://weblog.rubyonrails.org/2013/5/27/rails-google-summer-of-code-projects/> the
Rails Google Summer of Code participants. This means I will replace the
venerable html-scanner with Loofah, picking up where this issue left off:
https://github.com/rails/rails/issues/2550. Rafael França was assigned to
that issue and he is my mentor during the
2006 Jan 06
3
Using DIV tags in HTML - a better Ruby/Rails way?
People,
I can use a DIV tag for exact positioning of fields on a form:
Creating a DIV tag creates a layer.
The DIV tag contains a style attribute with positioning information. It
might also have border and size information, if appropriate.
Here is the basic DIV tag required for exact positioning:
<div
style="
top: 99;
left: 99;
position: absolute;
2018 Jul 17
2
lld/mach-o x86_64 asserts
Got it.
Attached are both the testcase & the fix.
On Tue, Jul 17, 2018, at 12:06, Carlo Kok via llvm-dev wrote:
> On Wed, Jul 11, 2018, at 16:45, Davide Italiano wrote:
> > On Tue, Jul 10, 2018 at 10:12 PM Carlo Kok via llvm-dev
> > <llvm-dev at lists.llvm.org> wrote:
> > >
> > > That sounds quite reasaonable; how does one usually go about doing that?
2018 Jul 30
3
lld/mach-o x86_64 asserts
Sorry, I was thinking to review the test but didn't.
Is this test complete? It does invoke lld, but it didn't verify its output.
On Mon, Jul 30, 2018 at 2:03 PM Andrew Kelley <superjoe30 at gmail.com> wrote:
> Ping Rui. Is there anything else that needs to be done on this patch?
>
> On Tue, Jul 17, 2018 at 6:58 AM, Carlo Kok via llvm-dev <
> llvm-dev at
2009 Oct 13
9
Nokogiri: to_s WITHOUT html surrounding's tags?
Hi all
n = Nokogiri::HTML("<h1>H1</h1>")
n.to_s
# => <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"
\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body><h1>H1</h1></body></html>
Is there a method that only outputs the stuff I''ve read, and not the
whole valid XHTML stuff?
2011 Jul 15
3
Ruby variable that embeds html tags
This seems very simple, but I can''t quite get it. Probably because I''m
just starting out with RoR.
My view has a slew of labels and text fields; many are "required":
<%= f.text_field :screen_name %> <span class="required_field">Required
field</span>
(The "required_field" class turns the text red and smaller.) I''d like
to
2001 Dec 26
1
tags in comment field - why?
Well, my last question about this was in the middle of other stuff, but
it's a basic one: why put tag info in the comment field at all? Why not
use the XML field that's already there? It gives the flexibility needed
to do things like translated tags easily, and keeps tag info in the same
format as other data--potentially simplifying editors which read other
types of metadata.
The only