HTML tags not recognized in in-text citations

When using the HTML editor in Item records (and specifically with Scripto), we would like to use HTML text formatting to italicize titles, as well as actual quotation marks (" ") around words within the string. This first html string appears within the text:
<a>Title of Book" href="#footnote03">[3]</a>, but the tags are being read as text and not italicizing the title. In the HTML string that appears at the bottom of the page in the Footnotes section, the tag works fine:
<p>3. Example text </em><em>Title of Book</em>. <a title="Jump to footnote 3 in the text." href="#ref03">↩</a></p>

Any help would be appreciated! I can provide more clarification if necessary.

What are you using to make these footnotes and citations?

I'm not aware of anything in Omeka that does that.

I'm putting the HTML directly into the HTML Source Editor. The site is not yet live. Can I add you as a user so you can see the record?

Screenshots of the HTML in the edit box and the resulting output might be just as good, if you can't make it public.

<p>&nbsp;</p>
<p>To JAMES T. FIELDS<br />March 14?, [1862], Washington, Pennsylvania</p>
<p>Mr Fields</p>
<p>I feel a little uneasy at not hearing from you in relation to the time you would like to have the new story.<a id="ref01" class="see-footnote" title="'David Gaunt.'" href="#footnote01">[1]</a> I find I must divide it into two parts&ndash;for two nos. Will you object? And when do you wish for it? It is hard to write when one is not in the vein but I fear I have indulged myself longer than you like.</p>
<p>I am glad Margret&rsquo;s sale pleases you.<a id="ref02" class="see-footnote" title="<i>Margret Howth</i> had been published in book form." href="#footnote02">[2}</a> Mr. Leland<a id="ref03" class="see-footnote" title="Charles Godfrey Leland (1824-1903), editor of <i>The Knickerbocker; or New York Monthly Magazine</i>." href="#footnote03">[3]</a> has just sent me the proof sheets of the Knickerbocker in which he gives my name. I dispatched to him to take it out. I have <span style="text-decoration: underline;">every</span> reason to dislike its appearing in print. And if anybody thinks it pleases me they are very much mistaken though I suppose he did it for kindness.</p>
<p>Won&rsquo;t you drop me a line as soon as possible about the time you would like &lsquo;David Gaunt&rsquo;? And oblige yours sincerely,</p>
<p>R.B.H.</p>
<div><strong><br />Notes</strong>
<p>1. 'David Gaunt.' <a id="footnote01" title="Jump back to footnote 1 in the text." href="#ref01">↩</a></p>
<p>2. <em>Margret Howth</em> had been published in book form. <a id="footnote02" title="Jump back to footnote 2 in the text." href="#ref02">↩</a></p>
<p>3. Charles Godfrey Leland (1824-1903), editor of <em>The Knickerbocker; or New York Monthly Magazine</em>. <a id="footnote03" title="Jump" href="#ref01">↩</a></p>
</div>

To JAMES T. FIELDS
March 14?, [1862], Washington, Pennsylvania

Mr Fields

I feel a little uneasy at not hearing from you in relation to the time you would like to have the new story.[1] I find I must divide it into two parts–for two nos. Will you object? And when do you wish for it? It is hard to write when one is not in the vein but I fear I have indulged myself longer than you like.

I am glad Margret’s sale pleases you.[2} Mr. Leland[3] has just sent me the proof sheets of the Knickerbocker in which he gives my name. I dispatched to him to take it out. I have every reason to dislike its appearing in print. And if anybody thinks it pleases me they are very much mistaken though I suppose he did it for kindness.

Won’t you drop me a line as soon as possible about the time you would like ‘David Gaunt’? And oblige yours sincerely,

R.B.H.

Notes
1. 'David Gaunt.' ↩

2. Margret Howth had been published in book form. ↩

3. Charles Godfrey Leland (1824-1903), editor of The Knickerbocker; or New York Monthly Magazine. ↩

So, you're talking about the title attribute of the links? To my knowledge, HTML tags simply aren't supported inside a title like that.

Okay, thanks. Do you know if it is possible to create some type of pop-up text box outside of the HTML source editor that would show title attributes?

In the WYSIWYG editor? You should be able to set and edit link titles from the Link button on the editor's toolbar (the icon is a few links of a chain).

What we're trying to do is to get text that was excised from a document to appear when you hover over a note # or * rather than go to an external link.

Basically, to wrap up:

You can use the title attribute in the link to get default tooltips, but those can't have any formatting like italics. This isn't an Omeka limitation but one of HTML. If no formatting is fine, you can set those either manually in the HTML source editor, or with the Link dialog from the visual editor, which has a Title field.

If you want "tooltips" with formatting, you'll have to switch to another tactic. The best option that comes to mind would be using a Javascript library that could read the text (with formatting) directly out of the footnote each link points to and dynamically create a tooltip. There are a number of these kinds of scripts available, though I'm not sure I could recommend any in particular. You'd have to add a script like that to your theme.