You can subscribe to this list here.
2004 |
Jan
(5) |
Feb
(6) |
Mar
(11) |
Apr
(6) |
May
(9) |
Jun
(5) |
Jul
(8) |
Aug
(3) |
Sep
(2) |
Oct
(16) |
Nov
(16) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(8) |
Feb
(7) |
Mar
(6) |
Apr
(8) |
May
(5) |
Jun
(9) |
Jul
(4) |
Aug
(4) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2006 |
Jan
(9) |
Feb
(5) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(4) |
Jul
(1) |
Aug
(9) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
|
2007 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(5) |
Jun
(1) |
Jul
(2) |
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
(3) |
Dec
|
2008 |
Jan
(4) |
Feb
(7) |
Mar
(3) |
Apr
(6) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(3) |
Sep
(5) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2009 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(16) |
Aug
(12) |
Sep
(10) |
Oct
|
Nov
(2) |
Dec
(4) |
2010 |
Jan
(3) |
Feb
(1) |
Mar
(1) |
Apr
(16) |
May
(4) |
Jun
(1) |
Jul
(15) |
Aug
(8) |
Sep
(14) |
Oct
(5) |
Nov
(1) |
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(6) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2009-02-17 14:18:47
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6448756 By: nauron Hi all I encountered the same problem and asked me the same question. I hesitated to disable them - I feared the consequences (-: It would be very helpful if one of the developers could explain this. The same thing is for "Text"-Nodes. Best regards ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41436 |
From: SourceForge.net <no...@so...> - 2009-02-16 19:52:24
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6442718 By: aditsu Hi, since it looks like this project is not completely dead, I have a request to add this method to the Tidy class: public org.w3c.dom.Document parseDOM(Reader in, Writer out) { Node document = parse(in, out); if (document != null) { return (org.w3c.dom.Document) document.getAdapter(); } return null; } because sometimes the input comes as a String and it's a pain to get an InputStream from it. Thanks Adrian ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41436 |
From: SourceForge.net <no...@so...> - 2009-02-16 19:42:10
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6442680 By: aditsu Depends what you want to do. Take a look at http://jtidy.sourceforge.net/howto.html ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2009-01-19 22:26:32
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6183103 By: nobody z33dqI <a href="http://cdyrmyzkxxzm.com/">cdyrmyzkxxzm</a>, [url=http://kjmmreueowrq.com/]kjmmreueowrq[/url], [link=http://rrkcuvuwsokg.com/]rrkcuvuwsokg[/link], http://zotpcboynnlx.com/ ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2009-01-07 01:54:01
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6018442 By: steffenyount Hi all, I don't know who runs this project of if it is even alive anymore, but working off the r813 version I ran into a few Exceptions and other problems that I have coded fixes for. I don't have commit access, but if one of the project owners would like to review these fixes and commit them, that may be a good thing. I posted diffs for the fixes to the following forum: https://sourceforge.net/mailarchive/forum.php?forum=jtidy-devel Is this one a better forum for posting this kind of stuff? Cheers, -Steffen ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41436 |
From: SourceForge.net <no...@so...> - 2008-12-19 09:48:00
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5843681 By: nobody Hi, you could use jtidy for this, but jtidy is primarly intended as a java port of tidy to use tidy in java apps. So have a look for the cli tidy on tidy.sourceforge.net, maybe it better fits your needs. greetings, martin ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-12-18 19:30:23
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5839484 By: nobody good question ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: Albretch M. <lb...@gm...> - 2008-12-12 15:21:45
|
~ I if not jtidy on any other way? ~ Thanks lbrtchx ~ |
From: SourceForge.net <no...@so...> - 2008-11-28 02:58:52
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5726699 By: nobody uyh9sP <a href="http://kysirhtajawl.com/">kysirhtajawl</a>, [url=http://wavycrobuvue.com/]wavycrobuvue[/url], [link=http://nfmsqiltvupr.com/]nfmsqiltvupr[/link], http://ymteqpfmymlg.com/ ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-11-01 18:41:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5555617 By: nobody how to use jtidy. plzz give me ans...... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-11-01 13:06:48
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5554277 By: nobody For God's sake please tell me how to get started with this Jtidy open source code as we are college students and are trying to use it....It has so many errors that hoe could one use it??? plz guide me in this problem ......... after downloading please give me the steps to use this project.... plz plz plz ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-10-27 15:35:26
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5516595 By: nobody Has anyone done this? I'm having trouble figuring out where to drop the files and what to register (and where to point it) as a custom class path? ~ I have inherited a database with horrible html markup and I want to clean it out. thanks kindly. jas...@em... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-09-29 13:39:45
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5341700 By: nobody me again ; for the transform to work well, jtidy-8.0-20060801.131059-3.jar is required (found in "snapshot") ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-09-26 11:23:49
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5327829 By: nobody Ok, I looked into the source and saw that getElementById() is not supported. Turnarround : transform jtidy DOM result to DOM level3 and parse to setIDAttribute : TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(); DOMSource source = new DOMSource(xmlDoc); source.getNode().getAttributes(); DOMResult result = new DOMResult(); transformer.transform(source, result); Document xmlDocument2 = (Document) result.getNode(); NodeList nodes = xmlDocument2.getElementsByTagName("*"); for (int i = 0; i < nodes.getLength(); i++) { boolean foundId = false; Node node = nodes.item(i); if (node.getNodeType()==(Node.ELEMENT_NODE)){ NamedNodeMap attributes = node.getAttributes(); for (int j = 0; j < attributes.getLength() && !foundId; j++) { if (attributes.item(j).getNodeName().equals("id")) { foundId=true; } } } if (foundId) {Element elm = (Element) node; elm.setIdAttribute("id", true); } } I tried using a xsl stylesheet to have the id's hashtable reconstructed at transform level but couldn't make it work Stylesheet attempt : <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:html="http://www.w3.org/1999/xhtml"> <xsl:output method="xml" doctype-system="http://www.w3.org/TR/html4/strict.dtd" doctype-public="-//W3C//DTD HTML 4.01//EN"/> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-09-24 08:50:23
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5315914 By: nobody Hi, I can't make "myXmlDoc.getElementById()" work. is it a configuration problem ? I found that : >The API documentation says > >"The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID >unless so defined." How do I configure jtidy for ID attribute so "getElementById" would works ? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-09-23 23:10:21
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5313950 By: nobody Hi I would like to use JTIDy for my project, My html page is not well formatted, I am in the process of formatting it, problem is the page is not diplayed att all, how can I make it diplay, while I working with it. Please help Thanks Philip ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: Wilcox, T. <wi...@hp...> - 2008-09-11 13:06:45
|
Hi, I am a newbie using JTidy to clean up some very messy HTML to produce XHTML. I am having trouble getting JTidy to clean up the script code. Please could someone tell me how to get JTidy to wrap JavaScript code with CDATA tags so that: <script language="javascript" type="text/javascript">...XXX...</script> becomes: <script language="javascript" type="text/javascript"> <![CDATA[...XXX...]]></script> My code is below (note that I am using 'tidy.setWrapScriptlets(true)' ): public class JTidyTest { public static void main(String[] args) { out.println("---=== JTidy ===---"); if(args.length < 1) { System.err.println("Usage: java JTidyTest input_filename"); System.exit(1); } Tidy tidy = new Tidy(); // obtain a new Tidy instance tidy.setXHTML(true); // set desired config options using tidy setters // (equivalent to command line options) tidy.setOnlyErrors(true); tidy.setShowWarnings(false); tidy.setQuiet(true); tidy.setWrapScriptlets(true); tidy.setWrapSection(true); tidy.setTidyMark(true); tidy.setAltText("alt_text"); try { FileInputStream in = new FileInputStream(new File(args[0])); FileOutputStream oot = new FileOutputStream(new File("output.xhtml")); Document doc = tidy.parseDOM(in, System.out); // run tidy, providing an input and output stream out.println(doc); tidy.pprint(doc,oot); out.println("Parse complete."); } catch(IOException e) { ErrorHandler.error(e); } out.println("---=== Done ===---"); } } Thanks in advance, Tom |
From: Loritsch, B. <BLo...@ci...> - 2008-08-11 18:31:23
|
The last released version of JTidy does not have the Configuration.bodyOnly (among others) option. We need to get rid of essentially all HTML except for a handful of permitted tags. Our source documents can be the Windows bastardization of an HTML file from Word, or any other random system. We are processing email, and every mail client has their own version of HTML oddities. By restricting the set of allowed HTML, we at least provide a level playing field. We don't want any HTML Header information at all, and instead only want to preserve things like div, em, strong, p, h1-4, and other harmless HTML markup. The last version of JTidy gets us part of the way there, but there are options I see on the web site that are not in that distribution. I tried building JTidy from SVN, but it threw all kinds of errors so I don't trust what I built. So, can someone describe to me how to set up what I want with what's available, or give me some kind of clue as to what might be going wrong with these tests? ********************************************************************** This e-mail, including attachments, may include privileged, confidential and/or proprietary information protected by state and/or federal law, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any use, disclosure, distribution or copying of this e-mail (or attachments) is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail, and any attachments, immediately. ********************************************************************** |
From: SourceForge.net <no...@so...> - 2008-08-01 22:00:26
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5139527 By: nobody Does anyone know if jtidy supports jet tags? like <c:if test=...> ? And if JTidy supports JSP tags and how it handles them? Thanks ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: SourceForge.net <no...@so...> - 2008-07-08 22:02:40
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5082789 By: nobody Hello, I'm using JTidy to clean up sloppy HTML documents so I can find specific features in them. JTidy knows to close up <P> tags (with </P>), but is not currently closing up <DIV> tags. Any suggestions? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |
From: Henry T. <htr...@ya...> - 2008-07-07 05:27:04
|
Hi All, I am having difficulty compiling the latest version of JTidy source code with the following error: C:\temp\jtidy-04aug2000r7-src>dir Volume in drive C has no label. Volume Serial Number is 4478-E853 Directory of C:\temp\jtidy-04aug2000r7-src 07/07/2008 07:25 AM <DIR> . 07/07/2008 07:25 AM <DIR> .. 19/10/2007 07:02 PM 102 .openlogic.txt 07/07/2008 07:20 AM <DIR> build 19/10/2007 07:02 PM 5,594 build - original.xml 19/10/2007 07:02 PM 1,426 build.bat 07/07/2008 07:08 AM 2,265 build.properties 07/07/2008 07:03 AM 29,456 build.xml 07/07/2008 07:08 AM 1,251 local.properties 06/07/2008 09:26 PM <DIR> src 6 File(s) 40,094 bytes 4 Dir(s) 382,185,472 bytes free C:\temp\jtidy-04aug2000r7-src>set ALLUSERSPROFILE=C:\Documents and Settings\All Users ANT_HOME=C:\Program Files\NetBeans 6.1\java2\ant APPDATA=C:\Documents and Settings\abc\Application Data CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=SVHSPISUPC16 ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\abc JAVA_HOME=C:\Program Files\Java\jdk1.6.0_06 LOGONSERVER=\\SVHSPISUPC16 NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\My SQL\MySQL Server 5.0\bin;C:\Program Files\glassfish-v2ur2\bin;C:\Program Files\T idy;C:\Program Files\NetBeans 6.1\java2\ant\bin; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0905 ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\abc\LOCALS~1\Temp TMP=C:\DOCUME~1\abc\LOCALS~1\Temp USERDOMAIN=SVHSPISUPC16 USERNAME=abc USERPROFILE=C:\Documents and Settings\abc windir=C:\WINDOWS C:\temp\jtidy-04aug2000r7-src>dir Volume in drive C has no label. Volume Serial Number is 4478-E853 Directory of C:\temp\jtidy-04aug2000r7-src 07/07/2008 07:25 AM <DIR> . 07/07/2008 07:25 AM <DIR> .. 19/10/2007 07:02 PM 102 .openlogic.txt 07/07/2008 07:20 AM <DIR> build 19/10/2007 07:02 PM 5,594 build - original.xml 19/10/2007 07:02 PM 1,426 build.bat 07/07/2008 07:08 AM 2,265 build.properties 07/07/2008 07:03 AM 29,456 build.xml 07/07/2008 07:08 AM 1,251 local.properties 06/07/2008 09:26 PM <DIR> src 6 File(s) 40,094 bytes 4 Dir(s) 382,185,472 bytes free C:\temp\jtidy-04aug2000r7-src>build.bat JTidy Build ----------- Building with classpath ant.jar;;C:\Program Files\Java\jdk1.6.0_06\lib\tools.jar Starting Ant... C:\Program Files\Java\jdk1.6.0_06\bin\java.exe -mx64m -Dant.home="C:\Program Fil es\NetBeans 6.1\java2\ant" -classpath "ant.jar;;C:\Program Files\Java\jdk1.6.0_0 6\lib\tools.jar" org.apache.tools.ant.Main Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/ Main Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) C:\temp\jtidy-04aug2000r7-src>ant Buildfile: build.xml BUILD FAILED C:\temp\jtidy-04aug2000r7-src\build.xml:1: White spaces are required between pub licId and systemId. Total time: 1 second C:\temp\jtidy-04aug2000r7-src> I am using the build.xml from MKSearch Ant build file for re-packaging the JTidy classes (https://svn.mkdoc.com/mksearch/trunk/ant/build.xml). Also tried compiling on jtidy-04aug2000r7-dev & jtidy-04aug2000r7-bin without much luck either. There are numerous forum conversations on how to use JTidy but nothing on how to build it especially on overcoming Class the compatibility conflict with standard Java distributions that occurred since JDK1.5 back in 2004. I am surprised that no one has updated JTidy to overcome this issue. Any advice or suggestion on this issue would be appreciated. Thanks, Henry Get the name you always wanted with the new y7mail email address. www.yahoo7.com.au/mail |
From: Henry T. <htr...@ya...> - 2008-07-03 12:43:18
|
Is there anyone who can give some advice on this area? I still could not proceed further with this issue. Thanks in advance, Henry ----- Forwarded Message ---- From: Henry Tran <htr...@ya...> To: jti...@li... Sent: Thursday, 26 June, 2008 2:20:19 PM Subject: How to bring ill-formed HTML into DOM Hi All, I am having difficulty parsing a HTML table in order to retrieve the right content. As a result, I am wondering whether it is possible to use JTidy to clean up HTML format and place it in a DOM tree. Please refer to the detail of this issue from http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=31&t=007252&p=1 I have also tried using htmlparser without the desire success. Any suggestion or example would be much appreciated. Many thanks, Henry ________________________________ Get the name you always wanted with the new y7mail email address. Get the name you always wanted with the new y7mail email address. www.yahoo7.com.au/mail |
From: Henry T. <htr...@ya...> - 2008-06-26 04:20:27
|
Hi All, I am having difficulty parsing a HTML table in order to retrieve the right content. As a result, I am wondering whether it is possible to use JTidy to clean up HTML format and place it in a DOM tree. Please refer to the detail of this issue from http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=31&t=007252&p=1 I have also tried using htmlparser without the desire success. Any suggestion or example would be much appreciated. Many thanks, Henry Get the name you always wanted with the new y7mail email address. www.yahoo7.com.au/mail |
From: SourceForge.net <no...@so...> - 2008-04-28 10:56:35
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4932718 By: sannysanoff Hello; I use JTidy to clean up user input (from rich text in browser) before converting it to other format. In Firefox, user enters following text (by selecting middle word as bold, then underline whole text): <span style="text-decoration: underline;">aaa </span><span style="font-weight: bold; text-decoration: underline;">bbb</span><span style="text-decoration: underline;"> ccc</span><br style="text-decoration: underline;"> After JTIDY conversion, underlined "aaa " becomes "aaa"+nonunderlined_space: <span style="text-decoration: underline;">aaa</span>[***space here***]<span style= "font-weight: bold; text-decoration: underline;">bbb</span><span Then my routine treats this space as non-underlined, and then I render text and get ugly non-underlined holes between words. I looked in the source code and found Node.trimSpaces() function called here and there doing this job. Disabling it seems to solve my issue, but I wonder what problems will it bring? Its comment precisely describes its behavior, but I can't guess why this trimming is needed. (bold/italics are ok visually, though). ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41436 |
From: SourceForge.net <no...@so...> - 2008-04-04 14:40:55
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4884548 By: marcelofs - div -- id = title (atribute, use getNamedItem() from org.w3c.dom.NamedNodeMap) --- #text (node, use getChildNodes()) ----- value = Text and Title (this is you should use getValue()) Try PPrint when you have doubts about the logical structure Tidy uses... ;) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=41437 |