title: FlowDocument alternative in wp8 or Hyperlinks and Run on same line
body: <p>I have a text with hyperlinks in it.
  To not irritate the reader I want to have the normal text and the links on the same line. Right now every Inline element starts a new line. </p>
  
  <p>It displays:</p>
  
  <blockquote>
    <p>Please visit</p>
    
    <p><a href="http://google.com" rel="nofollow noreferrer">http://google.com</a></p>
    
    <p>to continue.</p>
  </blockquote>
  
  <p>I want:</p>
  
  <blockquote>
    <p>Please visit <a href="http://google.com" rel="nofollow noreferrer">http://google.com</a> to continue.</p>
  </blockquote>
  
  <p>I've also noticed, that the hyperlink Hit area cover the hole inline element and not just the text.</p>
  
  <p>My problem is identical than described and solved here: 
  <a href="https://stackoverflow.com/questions/12303414/c-sharp-wpf-richtextbox-clickable-hyperlinks-without-new-paragraph">Add clickable hyperlinks to a RichTextBox without new paragraph</a></p>
  
  <p>The problem is, that it seems than something like a flowdocument for wp8 doesn't exist.
  I need to create the inline elements programatically.</p>
  
  <h1>EDIT 1:</h1>
  
  <p>Here my code how I add the inline elements:</p>
  
  <pre><code>                    int index = 0;
                      rt = new RichTextBox() { };
  
                      while (true)
                      {
                          Paragraph para = new Paragraph();
                          if (item.text.Substring(index).IndexOf("&lt;") == 0)
                          {
                              //TRUE when link 
                              //I extract the URL and the linktext, and also update the index
  
                              Hyperlink hyper = new Hyperlink();
                              hyper.Click += new RoutedEventHandler((sender,e) =&gt; Hyperlink_Click(sender,e,URL));
                              hyper.Inlines.Add(linktext);
                              para.Inlines.Add(hyper);
                          }
                          else if (item.text.Substring(index).Contains("&lt;"))
                          {
                              //TRUE when text, item.text contains a link
                              // I extract the text and update index
                              Run run = new Run() { Text = text };
                              para.Inlines.Add(run);
                          }
                          else
                          {
                              //TRUE when only text is left
                              Run run = new Run() { Text = item.text.Substring(index) };
                              para.Inlines.Add(run);
                              rt.Blocks.Add(para);
                              break;
                          }
                          // REMOVE: rt.Blocks.Add(para);
                      }
                      rt.SetValue(Grid.RowProperty, MainViewer.RowDefinitions.Count - 1);
                      MainViewer.Children.Add(rt);
  </code></pre>
  
  <h1>EDIT 2</h1>
  
  <p>I still couldn't solve this Problem, does no one know a solution? I saw what I want in an App before, so it must be possible.</p>
  
  <h1>EDIT 3</h1>
  
  <p>I've created for every inline element a new paragraph. I've fixed my code above, it is working now</p>