Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of "h" in "<%=h [ ...] %>"?

When I generate a default scaffold, the display tags on show.html.erb have

<%=h @broker.name %> 

I know the difference between <% and <%=. What's the "h" do?

like image 731
neezer Avatar asked Nov 17 '08 20:11

neezer


People also ask

Whats the meaning of H?

1. the eighth letter and sixth consonant of the modern English alphabet. 2. a speech sound represented by this letter, in English usually a voiceless glottal fricative, as in hat.

What does H mean in numbers?

Conversion Table A = 1 B = 2 C = 3 D = 4 E = 5 F = 6 G = 7 H = 8 I = 9 J = 10 K =11 L = 12 M = 13 N =14 O =15 P = 16 Q =17 R =18.

What does H mean in typing?

(H) is an emoticon which means means "Cool Dude" or "Heart." This emoticon may be typed as (H), but is more commonly typed as (h).

What is the meaning of the word I?

I is a first person singular pronoun. I is used as the subject of a verb. Jim and I are getting married.


1 Answers

html escape. It's a method that converts things like < and > into numerical character references so that rendering won't break your html.

like image 50
JasonTrue Avatar answered Oct 01 '22 12:10

JasonTrue