🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
1 messages
1 total messages Started by Tony F. White Wed, 19 Jan 2000 00:00
What is this tag <p-implied>?
#943
Author: Tony F. White
Date: Wed, 19 Jan 2000 00:00
26 lines
1614 bytes
I get a <p-implied> tag in my html code this happens when I insert a base
tag into a htmlDocument I have no idea what it does or why it is there, can
anyone tell me why it is there, and how to stop it being put in

This is the code I am using to insert the <BASE> tag into the document



     // Iterate through the elements of the HTML document.
     ElementIterator it = new ElementIterator(doc);
     javax.swing.text.Element elem;
     elem = it.first();
     while ((elem = it.next()) != null)

       if (HTML.Tag.HEAD.equals(HTML.getTag (elem.getName())))

         SimpleAttributeSet tag = new SimpleAttributeSet();
         SimpleAttributeSet s = new SimpleAttributeSet();
         s.addAttribute(HTML.Attribute.HREF,urlBase.trim());
         tag.addAttribute(HTML.Tag.BASE,s);
         doc.insertString(elem.getEndOffset()," ",tag);
       }
     }


thanks for you help in advance.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads